1 BEGIN { do "./t/lib/ANFANG.pm" or die ( $@ || $! ) }
3 BEGIN { $ENV{DBIC_ASSERT_NO_ERRONEOUS_METAINSTANCE_USE} = 0 }
13 my $schema = DBICTest->init_schema;
14 my $rsrc = $schema->source("Artist");
16 is( (eval($_)||die $@), $rsrc, "Same source object after $_" ) for qw(
17 $rsrc->resultset->result_source,
18 $rsrc->resultset->next->result_source,
19 $rsrc->resultset->next->result_source_instance,
20 $schema->resultset("Artist")->result_source,
21 $schema->resultset("Artist")->next->result_source,
22 $schema->resultset("Artist")->next->result_source_instance,