Bugzilla – Attachment 152094 Details for
Bug 32894
Objects cache methods' result without invalidation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32894: (QA follow-up) Fix tests
Bug-32894-QA-follow-up-Fix-tests.patch (text/plain), 1.42 KB, created by
Jonathan Druart
on 2023-06-07 10:04:27 UTC
(
hide
)
Description:
Bug 32894: (QA follow-up) Fix tests
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2023-06-07 10:04:27 UTC
Size:
1.42 KB
patch
obsolete
>From 8ebd359a1ae154695114a4220e44567f904c587a Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Tue, 9 May 2023 11:49:48 +0000 >Subject: [PATCH] Bug 32894: (QA follow-up) Fix tests > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > t/db_dependent/Holds.t | 5 +---- > 1 file changed, 1 insertion(+), 4 deletions(-) > >diff --git a/t/db_dependent/Holds.t b/t/db_dependent/Holds.t >index 2f2b0d57823..39224e99050 100755 >--- a/t/db_dependent/Holds.t >+++ b/t/db_dependent/Holds.t >@@ -7,7 +7,7 @@ use t::lib::TestBuilder; > > use C4::Context; > >-use Test::More tests => 76; >+use Test::More tests => 73; > use Test::Exception; > > use MARC::Record; >@@ -117,13 +117,10 @@ my $hold = Koha::Holds->find( $reserve_id ); > ok( $hold, "Koha::Holds found the hold" ); > my $hold_biblio = $hold->biblio(); > ok( $hold_biblio, "Got biblio using biblio() method" ); >-ok( $hold_biblio == $hold->biblio(), "biblio method returns stashed biblio" ); > my $hold_item = $hold->item(); > ok( $hold_item, "Got item using item() method" ); >-ok( $hold_item == $hold->item(), "item method returns stashed item" ); > my $hold_branch = $hold->branch(); > ok( $hold_branch, "Got branch using branch() method" ); >-ok( $hold_branch == $hold->branch(), "branch method returns stashed branch" ); > my $hold_found = $hold->found(); > $hold->set({ found => 'W'})->store(); > is( Koha::Holds->waiting()->count(), 1, "Koha::Holds->waiting returns waiting holds" ); >-- >2.25.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 32894
:
147499
|
147500
|
147502
|
147503
|
150016
|
150017
|
150018
|
150019
|
150020
|
150021
|
150827
|
150828
|
150847
|
150848
|
150849
|
150850
|
150851
|
150852
|
150853
|
150854
|
150855
|
152086
|
152087
|
152088
|
152089
|
152090
|
152091
|
152092
|
152093
| 152094