Added 'sidebar' content block and make login form part of Auth plugin
Change-Id: Iab9ef73bce0960336aa3821e6f4f390e96dca574
diff --git a/t/plugin/auth.t b/t/plugin/auth.t
index ff5988e..a81c06f 100644
--- a/t/plugin/auth.t
+++ b/t/plugin/auth.t
@@ -42,7 +42,9 @@
;
$t->get_ok('/')
- ->element_exists('form[action=/user/login] input[name=handle_or_email]');
+ ->status_is(200)
+ ->element_exists('form[action=/user/login] input[name=handle_or_email]')
+ ;
$t->post_ok('/user/login' => form => { handle_or_email => 'test', pwd => 'fail' })
->status_is(302)