From d4a4322cb6a79a83447ba2c5edad186167802868 Mon Sep 17 00:00:00 2001 From: Bernardo Gonzalez Kriegel Date: Tue, 3 May 2016 08:28:29 -0300 Subject: [PATCH] [SIGNED-OFF] Bug 16330: (followup) fix spelling and number of tests Signed-off-by: Bernardo Gonzalez Kriegel Signed-off-by: Benjamin Rokseth --- t/db_dependent/api/v1/patrons.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/db_dependent/api/v1/patrons.t b/t/db_dependent/api/v1/patrons.t index bcd8359..612b191 100644 --- a/t/db_dependent/api/v1/patrons.t +++ b/t/db_dependent/api/v1/patrons.t @@ -19,7 +19,7 @@ use Modern::Perl; use t::lib::TestBuilder; -use Test::More tests => 56; +use Test::More tests => 64; use Test::Mojo; use C4::Auth; @@ -93,7 +93,7 @@ $tx->req->cookies({name => 'CGISESSID', value => $session->id}); $tx->req->env({REMOTE_ADDR => '127.0.0.1'}); $t->request_ok($tx) ->status_is(200); -ok(@{$tx->res->json} == 0, 'Json response yields no results when params doesnt match'); +ok(@{$tx->res->json} == 0, "Json response yields no results when params doesn't match"); $tx = $t->ua->build_tx(GET => '/api/v1/patrons' => form => {surname => $patron->{ surname }}); $tx->req->cookies({name => 'CGISESSID', value => $session->id}); -- 2.1.4