X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FDBICTest%2FSchema%2FLinerNotes.pm;h=b7e3da2e45743a91c7582d017f559ae70de4f278;hb=8273e845426f0187b4ad6c4a1b42286fa09a648f;hp=168f311dd98eaee9f6672111d40b98e43a2cda4d;hpb=096f421241e5abd4274e4344b873b8570ab17d43;p=dbsrgits%2FDBIx-Class.git diff --git a/t/lib/DBICTest/Schema/LinerNotes.pm b/t/lib/DBICTest/Schema/LinerNotes.pm index 168f311..b7e3da2 100644 --- a/t/lib/DBICTest/Schema/LinerNotes.pm +++ b/t/lib/DBICTest/Schema/LinerNotes.pm @@ -1,10 +1,10 @@ -package # hide from PAUSE +package # hide from PAUSE DBICTest::Schema::LinerNotes; -use base qw/DBIx::Class::Core/; +use base qw/DBICTest::BaseResult/; -DBICTest::Schema::LinerNotes->table('liner_notes'); -DBICTest::Schema::LinerNotes->add_columns( +__PACKAGE__->table('liner_notes'); +__PACKAGE__->add_columns( 'liner_id' => { data_type => 'integer', }, @@ -13,8 +13,8 @@ DBICTest::Schema::LinerNotes->add_columns( size => 100, }, ); -DBICTest::Schema::LinerNotes->set_primary_key('liner_id'); -DBICTest::Schema::LinerNotes->belongs_to( +__PACKAGE__->set_primary_key('liner_id'); +__PACKAGE__->belongs_to( 'cd', 'DBICTest::Schema::CD', 'liner_id' );