From cb10dbe52d64751629bae9942efccb96999cae1f Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Tue, 29 Apr 2025 15:35:07 +0000 Subject: [PATCH] Bug 39777: Rollback tests These tests should test an authenticated patron, without the presence of a cardnumber in the metadata (as it is the case in the OPAC form) This is also the reason why we mock_userenv right below this. Signed-off-by: David Nind --- t/db_dependent/Koha/ILL/Request/Workflow/HistoryCheck.t | 2 -- 1 file changed, 2 deletions(-) diff --git a/t/db_dependent/Koha/ILL/Request/Workflow/HistoryCheck.t b/t/db_dependent/Koha/ILL/Request/Workflow/HistoryCheck.t index 86f0f2065a..2be1114d5e 100755 --- a/t/db_dependent/Koha/ILL/Request/Workflow/HistoryCheck.t +++ b/t/db_dependent/Koha/ILL/Request/Workflow/HistoryCheck.t @@ -126,13 +126,11 @@ subtest 'after_request_created' => sub { title => 'This is a title', author => 'This is an author', isbn => $isbn, - cardnumber => $fake_cardnumber, }; my $authenticated_patron = $builder->build_object( { class => 'Koha::Patrons', - value => { cardnumber => $fake_cardnumber } } ); -- 2.39.5