sub is needed to make this work, I think.
This commit is contained in:
parent
a06d4a63fa
commit
62d7ae0dbd
1 changed files with 2 additions and 1 deletions
|
@ -33,7 +33,8 @@ Test adding a supporter to the database.
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
dies_ok { $sp->addSupporter({}) } "ledger_entity_id required";
|
dies_ok(sub { $sp->addSupporter({}) }, "ledger_entity_id required");
|
||||||
|
|
||||||
|
|
||||||
$dbh->disconnect();
|
$dbh->disconnect();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue