Skip to content
Browse files

another JSON test

  • Loading branch information...
1 parent 80357a5 commit ca039a78c458b1b701ca4128b163b76348a3c36a @kraih committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 t/mojolicious/lite_app.t
View
2 t/mojolicious/lite_app.t
@@ -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)

0 comments on commit ca039a7

Please sign in to comment.
Something went wrong with that request. Please try again.