Switched tests to use DBICTest->class("...")
[dbsrgits/DBIx-Class.git] / t / run / 09update.tl
index fbb6593..f831bc1 100644 (file)
@@ -5,7 +5,7 @@ BEGIN {
         plan $@ ? (skip_all => 'needs DBD::SQLite for testing') : (tests => 3);
 }                                                                               
 
-my $art = DBICTest::Artist->find(1);
+my $art = DBICTest->class("Artist")->find(1);
 
 isa_ok $art => 'DBICTest::Artist';