From 64902bf1e1aec27de0df7e63e4a4489c44eec676 Mon Sep 17 00:00:00 2001 From: Tom Bloor Date: Sun, 14 Jul 2019 15:52:39 +0100 Subject: [PATCH] Possible fix for test failure --- t/api/search.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/api/search.t b/t/api/search.t index 561e437..13b53b5 100644 --- a/t/api/search.t +++ b/t/api/search.t @@ -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};