X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FDBICTest%2FSchema.pm;h=2e783a75912d6f8d1cd593f2b79e630cacac03e0;hb=2c649fafe996a7ee5b85b229a9ed2128b0e7ee1f;hp=ac8c5baa4c1ec7e98002e745874553d707fe21b4;hpb=3814fdaddf1c49d2a8055c6da60cd93a1b513ad7;p=dbsrgits%2FDBIx-Class.git diff --git a/t/lib/DBICTest/Schema.pm b/t/lib/DBICTest/Schema.pm index ac8c5ba..2e783a7 100644 --- a/t/lib/DBICTest/Schema.pm +++ b/t/lib/DBICTest/Schema.pm @@ -1,9 +1,13 @@ package # hide from PAUSE DBICTest::Schema; -use base qw/DBIx::Class::Schema/; +use strict; +use warnings; +no warnings 'qw'; -no warnings qw/qw/; +use base 'DBICTest::BaseSchema'; + +__PACKAGE__->mk_group_accessors(simple => 'custom_attr'); __PACKAGE__->load_classes(qw/ Artist @@ -12,8 +16,8 @@ __PACKAGE__->load_classes(qw/ Employee CD Genre - Link Bookmark + Link #dummy Track Tag @@ -21,6 +25,7 @@ __PACKAGE__->load_classes(qw/ Year1999CDs CustomSql Money + TimestampPrimaryKey /, { 'DBICTest::Schema' => [qw/ LinerNotes @@ -46,7 +51,7 @@ __PACKAGE__->load_classes(qw/ 'CD_to_Producer', 'Dummy', # this is a real result class we remove in the hook below ), - qw/SelfRefAlias TreeLike TwoKeyTreeLike Event EventTZ NoPrimaryKey/, + qw/SelfRefAlias TreeLike TwoKeyTreeLike Event NoPrimaryKey/, qw/Collection CollectionObject TypedObject Owners BooksInLibrary/, qw/ForceForeign Encoded/, );