projects
/
dbsrgits/DBIx-Class-Schema-Loader.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
silence warning
[dbsrgits/DBIx-Class-Schema-Loader.git]
/
t
/
backcompat
/
0.04006
/
lib
/
dbixcsl_common_tests.pm
diff --git
a/t/backcompat/0.04006/lib/dbixcsl_common_tests.pm
b/t/backcompat/0.04006/lib/dbixcsl_common_tests.pm
index
7e046fc
..
a67eb61
100644
(file)
--- a/
t/backcompat/0.04006/lib/dbixcsl_common_tests.pm
+++ b/
t/backcompat/0.04006/lib/dbixcsl_common_tests.pm
@@
-553,7
+553,10
@@
sub run_tests {
$dbh->disconnect;
}
- my @new = $conn->rescan;
+ my @new = do {
+ local $SIG{__WARN__} = sub {};
+ $conn->rescan;
+ };
is(scalar(@new), 1);
is($new[0], 'LoaderTest30');