Fixed authorization in caching
Change-Id: I00aabe2ba4eaef430124c4991789c007b9125cca
diff --git a/t/remote_user.t b/t/remote_user.t
index ee0b872..baa8967 100644
--- a/t/remote_user.t
+++ b/t/remote_user.t
@@ -63,7 +63,11 @@
;
-$t->post_ok('/user/login' => form => { handle_or_email => 'test', pwd => 'pass', csrf_token => $csrf })
+$t->post_ok('/user/login' => form => {
+ handle_or_email => 'test',
+ pwd => 'pass',
+ csrf_token => $csrf
+})
->status_is(302)
->header_is('Location' => '/');
@@ -84,7 +88,6 @@
->content_like(qr/\"authorized\"\:\"test\"/)
;
-
# Logout
$t->get_ok('/user/logout')
->status_is(302)