Commit | Line | Data |
---|---|---|
50041f3c | 1 | use strict; |
2 | use warnings; | |
3 | use Test::More; | |
185bcdea | 4 | use Test::Warn; |
50041f3c | 5 | |
cd67f809 | 6 | use lib qw(t/lib); |
50041f3c | 7 | |
185bcdea | 8 | warnings_like { require DBICTest::Plain } |
9 | [ | |
10 | qr/compose_connection deprecated as of 0\.08000/, | |
11 | qr/\QDBIx::Class::ResultSetProxy is DEPRECATED/, | |
12 | ], | |
13 | 'no unexpected warnings' | |
14 | ; | |
50041f3c | 15 | |
16 | cmp_ok(DBICTest::Plain->resultset('Test')->count, '>', 0, 'count is valid'); | |
185bcdea | 17 | |
18 | done_testing; |