Bug 22930: (QA follow-up) Add two test descriptions
No more than that ;) Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
52325a771a
commit
2ccc5dcdf1
1 changed files with 2 additions and 2 deletions
|
@ -401,7 +401,7 @@ subtest 'build_object() tests' => sub {
|
|||
warnings_like {
|
||||
$builder->build_object(
|
||||
{ class => 'Koha::Patrons', categorycode => 'foobar' } );
|
||||
} qr{Unknown parameter\(s\): categorycode}, "";
|
||||
} qr{Unknown parameter\(s\): categorycode}, "Unknown parameter detected";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -434,7 +434,7 @@ subtest '->build parameter' => sub {
|
|||
warnings_like {
|
||||
$builder->build(
|
||||
{ source => 'Borrower', categorycode => 'foobar' } );
|
||||
} qr{Unknown parameter\(s\): categorycode}, "";
|
||||
} qr{Unknown parameter\(s\): categorycode}, "Unkown parameter detected";
|
||||
};
|
||||
|
||||
$schema->storage->txn_rollback;
|
||||
|
|
Loading…
Reference in a new issue