Possible fix for test failure

This commit is contained in:
Tom Bloor 2019-07-14 15:52:39 +01:00
parent a29c09c9bf
commit 64902bf1e1

View file

@ -104,8 +104,8 @@ sub check_vars{
->status_is(200)
->or($framework->dump_error)
->json_is('/success', Mojo::JSON->true)
->json_has("unvalidated")
->json_has("validated");
->json_has("/unvalidated")
->json_has("/validated");
my $sessionJsonTest = $t->tx->res->json;
my $validated = $sessionJsonTest->{validated};