X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Frun%2F09update.tl;h=ff802f045d692a380797de35e5c133d090b0218d;hb=b3caf56c71e1bab50211ac1c6606bc1c59f6072b;hp=64b89c036b4ea0bdbfe88132787017177af2525f;hpb=1edaf6fef6739e4d809ae6adfbeaa6b660ca29b3;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/t/run/09update.tl b/t/run/09update.tl index 64b89c0..ff802f0 100644 --- a/t/run/09update.tl +++ b/t/run/09update.tl @@ -6,7 +6,7 @@ BEGIN { plan $@ ? (skip_all => 'needs DBD::SQLite for testing') : (tests => 3); } -my $art = $schema->class("Artist")->find(1); +my $art = $schema->resultset("Artist")->find(1); isa_ok $art => 'DBICTest::Artist';