],
);
+ # prod-like defaults
+ $answers{user_info_class} //= 'GitHubAuth,CGI';
+ $answers{user_verify_class} //= 'GitHubAuth,DB';
+
if ($first_time++) {
capture_merged {
Bugzilla::Config::update_params();
}
}
-1;
\ No newline at end of file
+1;
# Each time you call $t->get_ok, post_ok, etc the previous request is cleared.
$t->get_ok('/rest/whoami');
-$t->status_is(200);
-$t->json_is('/name' => '');
-$t->json_is('/id' => 0);
+$t->status_is(401);
+$t->json_is('/name' => undef);
+$t->json_is('/id' => undef);
done_testing;