X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F76select.t;h=4325a70d0fb4a0e7f8e66c7e51bc67ea40cf931d;hb=e1f06f1c72b03d2a3c40b007eeb83ef55026925e;hp=2d60873d4e1f6593a1fb5765091c57742ec96ae8;hpb=78bf8b8b0f821581b58225e4cbb5595df3ff2c21;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/t/76select.t b/t/76select.t index 2d60873..4325a70 100644 --- a/t/76select.t +++ b/t/76select.t @@ -8,7 +8,7 @@ use DBICTest; my $schema = DBICTest->init_schema(); -plan tests => 11; +plan tests => 12; my $rs = $schema->resultset('CD')->search({}, { @@ -61,3 +61,5 @@ my $subsel = $cds->search ({}, { is ($subsel->count, 2, 'Subselect correctly limited the rs to 2 cds'); is ($subsel->next->title, $cds->next->title, 'First CD title match'); is ($subsel->next->title, $cds->next->title, 'Second CD title match'); + +is($schema->resultset('CD')->current_source_alias, "me", '$rs->current_source_alias returns "me"');