Bug 24446: Update transferbook Unit Test
We updated C4::Circulation::transferbook to return the to_branch branchcode as the data entity for 'WasTransfered'. This patch updates the corresponding unit test. To test: 1/ Run t/db_dependent/Circulation/transferbook.t 2/ Signoff if it passes Signed-off-by: Kathleen Milne <kathleen.milne@cne-siar.gov.uk> Signed-off-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
7e919d12d8
commit
d25c667d06
|
|
@ -83,7 +83,7 @@ subtest 'field population tests' => sub {
|
|||
is( $dotransfer, 1, 'Transfer succeeded' );
|
||||
is_deeply(
|
||||
$messages,
|
||||
{ 'WasTransfered' => 1 },
|
||||
{ 'WasTransfered' => $library2->branchcode },
|
||||
"WasTransfered was set correctly"
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue