Refactor tests a little bit.
[dbsrgits/DBIx-Class-ResultSource-MultipleTableInheritance.git] / t / lib / MTITest / Result / Foo.pm
diff --git a/t/lib/MTITest/Result/Foo.pm b/t/lib/MTITest/Result/Foo.pm
deleted file mode 100644 (file)
index d8b8e1b..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-package MTITest::Result::Foo;
-
-use strict;
-use warnings;
-use parent qw(DBIx::Class::Core);
-use aliased 'DBIx::Class::ResultSource::MultipleTableInheritance';
-
-__PACKAGE__->table_class(MultipleTableInheritance);
-
-__PACKAGE__->table('foo');
-
-__PACKAGE__->add_columns(
-  id => { data_type => 'integer', is_auto_increment => 1 },
-  a => { data_type => 'integer', is_nullable => 1 }
-);
-
-__PACKAGE__->set_primary_key('id');
-
-__PACKAGE__->belongs_to(
-  'bar',
-  'MTITest::Result::Bar',
-  { 'foreign.id' => 'self.a' }
-);
-
-1;