X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F10auto.t;h=79d32dcf8c810ef21f1d70a348004ad62069353c;hb=126042ee4b9394c4eecc6ece49469da6fce23ba3;hp=4cf63c30dffc54236091b539020e41b74ba3a837;hpb=b6e40530b8ef2ef333b7466a6cd131c460872d03;p=dbsrgits%2FDBIx-Class.git diff --git a/t/10auto.t b/t/10auto.t index 4cf63c3..79d32dc 100644 --- a/t/10auto.t +++ b/t/10auto.t @@ -1,16 +1,12 @@ use Test::More; -use DBIx::Class::PK::Auto; -use DBIx::Class::PK::Auto::SQLite; - plan tests => 2; use lib qw(t/lib); use_ok('DBICTest'); -unshift(@DBICTest::Artist::ISA, qw/DBIx::Class::PK::Auto - DBIx::Class::PK::Auto::SQLite/); +DBICTest::Artist->load_components(qw/PK::Auto::SQLite/); # add an artist without primary key to test Auto my $artist = DBICTest::Artist->create( { name => 'Auto' } );