Bugzilla – Attachment 51132 Details for
Bug 16330
Add routes to add, update and delete patrons
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16330: (followup) fix spelling and number of tests
Bug-16330-followup-fix-spelling-and-number-of-test.patch (text/plain), 1.23 KB, created by
Bernardo Gonzalez Kriegel
on 2016-05-03 11:36:35 UTC
(
hide
)
Description:
Bug 16330: (followup) fix spelling and number of tests
Filename:
MIME Type:
Creator:
Bernardo Gonzalez Kriegel
Created:
2016-05-03 11:36:35 UTC
Size:
1.23 KB
patch
obsolete
>From 41f1680fb2600a769bc4065b7945b3f9fbbf08cb Mon Sep 17 00:00:00 2001 >From: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> >Date: Tue, 3 May 2016 08:28:29 -0300 >Subject: [PATCH] Bug 16330: (followup) fix spelling and number of tests > >Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> >--- > 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}); >-- >1.9.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 16330
:
50803
|
50889
|
51066
|
51131
|
51132
|
53216
|
53217
|
53820
|
54942
|
55147
|
56666
|
56667
|
56668
|
63646
|
63647
|
63649
|
63650
|
69546
|
69547
|
69548
|
69549
|
69550
|
69551
|
69752
|
69762
|
69763
|
69764
|
69765
|
69766
|
69767
|
69768
|
69787
|
70034
|
70035
|
70036
|
70037
|
70038
|
71667
|
71668
|
71669
|
71670
|
71671
|
71920
|
71921
|
71922
|
71923
|
71924
|
71925
|
71933
|
71934
|
71935
|
71936
|
71937
|
71938
|
73434