Deprecate rolled-out hash-condition in search()
[dbsrgits/DBIx-Class-Historic.git] / t / 30dbicplain.t
CommitLineData
50041f3c 1use strict;
2use warnings;
3use Test::More;
185bcdea 4use Test::Warn;
50041f3c 5
cd67f809 6use lib qw(t/lib);
50041f3c 7
185bcdea 8warnings_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
16cmp_ok(DBICTest::Plain->resultset('Test')->count, '>', 0, 'count is valid');
185bcdea 17
18done_testing;