Bug 13019 [QA Followup] - Fix stale unit test
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
parent
d792583186
commit
a23c551f30
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ is( $object2->surname(), 'Test Borrower Surname 2', "Accessor returns correct va
|
|||
|
||||
my $ret;
|
||||
$ret = $object2->set({ surname => "Test Borrower Surname 3", firstname => "Test Firstname" });
|
||||
is( $ret, 1, "Set returns 1 on success" );
|
||||
ok( ref($ret) eq 'Koha::Borrower', "Set returns object on success" );
|
||||
is( $object2->surname(), "Test Borrower Surname 3", "Set sets first field correctly" );
|
||||
is( $object2->firstname(), "Test Firstname", "Set sets second field correctly" );
|
||||
|
||||
|
|
Loading…
Reference in a new issue