Possible fix for test failure

This commit is contained in:
Tom Bloor 2019-07-14 15:52:39 +01:00
parent 71189d18fc
commit 7d862290d3
No known key found for this signature in database
GPG key ID: 4657C7EBE42CC5CC

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};