Bugzilla – Attachment 82278 Details for
Bug 21798
We need t::lib::TestBuilder::build_sample_biblio
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21798: Fix another test
Bug-21798-Fix-another-test.patch (text/plain), 1.04 KB, created by
Jonathan Druart
on 2018-11-13 14:38:23 UTC
(
hide
)
Description:
Bug 21798: Fix another test
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-11-13 14:38:23 UTC
Size:
1.04 KB
patch
obsolete
>From 683665891f29f14c56819c745a42f5a484881257 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 13 Nov 2018 11:24:14 -0300 >Subject: [PATCH] Bug 21798: Fix another test > >We should correctly generate the data we need, here we expect 2 records >with title starting with "Silence in the". >--- > t/db_dependent/Items.t | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/Items.t b/t/db_dependent/Items.t >index 455f3dd2e2..1ad42a0c0b 100755 >--- a/t/db_dependent/Items.t >+++ b/t/db_dependent/Items.t >@@ -357,7 +357,8 @@ subtest 'SearchItems test' => sub { > t::lib::Mocks::mock_preference('marcflavour', 'MARC21'); > my $cpl_items_before = SearchItemsByField( 'homebranch', $library1->{branchcode}); > >- my $biblio = $builder->gimme_a_biblio(); >+ my $biblio = $builder->gimme_a_biblio({ title => 'Silence in the library' }); >+ $builder->gimme_a_biblio({ title => 'Silence in the shadow' }); > > my (undef, $initial_items_count) = SearchItems(undef, {rows => 1}); > >-- >2.11.0
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 21798
:
82116
|
82276
|
82277
|
82278
|
82943
|
83136
|
83137
|
83149
|
83150
|
83151
|
83152
|
83153
|
83154
|
83156
|
83157
|
83158
|
83159
|
83160
|
83161
|
83162
|
83163
|
84490
|
84491
|
84492
|
84493
|
84494
|
84495
|
84496