Bugzilla – Attachment 83160 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.13 KB, created by
Marcel de Rooy
on 2018-12-13 13:06:22 UTC
(
hide
)
Description:
Bug 21798: Fix another test
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2018-12-13 13:06:22 UTC
Size:
1.13 KB
patch
obsolete
>From 9f9b628a33f4bbc63e998af5821c024639d9192c 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 >Content-Type: text/plain; charset=utf-8 > >We should correctly generate the data we need, here we expect 2 records >with title starting with "Silence in the". > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > 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 9c914b0..435b751 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.1.4
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