Introduce GOVERNANCE document and empty RESOLUTIONS file.
[dbsrgits/DBIx-Class.git] / t / resultset / is_paged.t
index c40adb7..020afa0 100644 (file)
@@ -1,19 +1,19 @@
-use strict;\r
-use warnings;\r
-\r
-use lib qw(t/lib);\r
-use Test::More;\r
-use Test::Exception;\r
-use DBICTest;\r
-\r
-my $schema = DBICTest->init_schema();\r
-\r
-my $tkfks = $schema->resultset('Artist');\r
-\r
-ok !$tkfks->is_paged, 'vanilla resultset is not paginated';\r
-\r
-my $paginated = $tkfks->search(undef, { page => 5 });\r
-ok $paginated->is_paged, 'resultset is paginated now';\r
-\r
-done_testing;\r
-\r
+BEGIN { do "./t/lib/ANFANG.pm" or die ( $@ || $! ) }
+
+use strict;
+use warnings;
+
+
+use Test::More;
+use DBICTest;
+
+my $schema = DBICTest->init_schema();
+
+my $tkfks = $schema->resultset('Artist');
+
+ok !$tkfks->is_paged, 'vanilla resultset is not paginated';
+
+my $paginated = $tkfks->search(undef, { page => 5 });
+ok $paginated->is_paged, 'resultset is paginated now';
+
+done_testing;