X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F01core.t;h=3e95f08875930fe521039ad56130d5de706e04e4;hb=656796f2088da66cc80f4eb127c39c923ef3c1dd;hp=20090c017a6f1dd39c992dafe14cb3707fe3c2d1;hpb=b6e40530b8ef2ef333b7466a6cd131c460872d03;p=dbsrgits%2FDBIx-Class.git diff --git a/t/01core.t b/t/01core.t index 20090c0..3e95f08 100644 --- a/t/01core.t +++ b/t/01core.t @@ -70,7 +70,7 @@ $new->name('Man With A Spoon'); $new->update; -$new_again = DBICTest::Artist->retrieve(4); +$new_again = DBICTest::Artist->find(4); is($new_again->name, 'Man With A Spoon', 'Retrieved correctly'); @@ -89,4 +89,4 @@ ok($new->in_database, 'insert_or_update insert ok'); # test in update mode $new->position(5); $new->insert_or_update; -is( DBICTest::Track->retrieve(100)->position, 5, 'insert_or_update update ok'); +is( DBICTest::Track->find(100)->position, 5, 'insert_or_update update ok');