From: Matt S Trout Date: Tue, 2 Aug 2005 19:10:27 +0000 (+0000) Subject: Fixed failing PK test (by loading PK plugins :) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=bdc1e821ce1c05a9414b64565d484b126d692985;p=dbsrgits%2FDBIx-Class-Historic.git Fixed failing PK test (by loading PK plugins :) --- diff --git a/t/01core.t b/t/01core.t index 3b128e4..93c211d 100644 --- a/t/01core.t +++ b/t/01core.t @@ -76,6 +76,12 @@ is($new_again->name, 'Man With A Spoon', 'Retrieved correctly'); is(DBICTest::Artist->count, 4, 'count ok'); +use DBIx::Class::PK::Auto; +use DBIx::Class::PK::Auto::SQLite; + +unshift(@DBICTest::Artist::ISA, qw/DBIx::Class::PK::Auto + DBIx::Class::PK::Auto::SQLite/); + # add an artist without primary key to test Auto my $artist = DBICTest::Artist->create( { name => 'Auto' } ); $artist->name( 'Auto Change' );