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:
Marcel de Rooy 2019-05-17 08:35:20 +00:00 committed by Nick Clemens
parent 52325a771a
commit 2ccc5dcdf1

View file

@ -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;