The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
use strict;
use warnings;

use lib qw(t/lib);
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;