Skip to content

Commit

Permalink
another JSON test
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Mar 4, 2014
1 parent 80357a5 commit ca039a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/mojolicious/lite_app.t
Expand Up @@ -897,7 +897,7 @@ $t->get_ok('/json')->status_is(200)->header_is(Server => 'Mojolicious (Perl)')
# JSON ("null")
$t->get_ok('/json?null=1')->status_is(200)
->header_is(Server => 'Mojolicious (Perl)')
->content_type_is('application/json')->json_is(undef);
->content_type_is('application/json')->json_is(undef)->content_is('null');

# Stash values in template
$t->get_ok('/autostash?bar=23')->status_is(200)
Expand Down

0 comments on commit ca039a7

Please sign in to comment.