4 use Test::More tests => 2;
8 use DBICTest::Schema::Artist;
10 DBICTest::Schema::Artist->source_name('MyArtist');
11 DBICTest::Schema->register_class('FooA', 'DBICTest::Schema::Artist');
13 my $schema = DBICTest->init_schema();
15 my $a = $schema->resultset('FooA')->search;
16 is($a->count, 3, 'have 3 artists');
17 is($schema->class('FooA'), 'DBICTest::FooA', 'Correct artist class');