X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FDBICTest%2FSchema%2FNoPrimaryKey.pm;h=1edda6167c803f3ed0314b4ca87f8088c6fd6678;hb=362c66db4c21efb954313e957bb6e5f8003ffa36;hp=1723390201966d34d5100c7c9b06bb821edcce35;hpb=89034887963b728f979ec9185350061a827db7af;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/t/lib/DBICTest/Schema/NoPrimaryKey.pm b/t/lib/DBICTest/Schema/NoPrimaryKey.pm index 1723390..1edda61 100644 --- a/t/lib/DBICTest/Schema/NoPrimaryKey.pm +++ b/t/lib/DBICTest/Schema/NoPrimaryKey.pm @@ -3,13 +3,13 @@ package # hide from PAUSE use base 'DBIx::Class::Core'; -DBICTest::Schema::NoPrimaryKey->table('noprimarykey'); -DBICTest::Schema::NoPrimaryKey->add_columns( +__PACKAGE__->table('noprimarykey'); +__PACKAGE__->add_columns( 'foo' => { data_type => 'integer' }, 'bar' => { data_type => 'integer' }, 'baz' => { data_type => 'integer' }, ); -DBICTest::Schema::NoPrimaryKey->add_unique_constraint(foo_bar => [ qw/foo bar/ ]); +__PACKAGE__->add_unique_constraint(foo_bar => [ qw/foo bar/ ]); 1;