Fix rendering error in not authenticated oauth route
Change-Id: I776c0dbdcd1e28e4f3b16b0832309164c9425dcc
diff --git a/t/plugin/auth-oauth.t b/t/plugin/auth-oauth.t
index 20c9b64..b63c668 100644
--- a/t/plugin/auth-oauth.t
+++ b/t/plugin/auth-oauth.t
@@ -120,6 +120,11 @@
->element_exists_not('aside.off')
;
+$t->get_ok('/settings/oauth')
+ ->status_is(401)
+ ->text_is('p.no-results', 'Not authenticated')
+ ;
+
# Test for bug with long password
$t->post_ok('/user/login' => form => {
handle => 'test',