New, failing SQLT deployment order test.
[dbsrgits/DBIx-Class-ResultSource-MultipleTableInheritance.git] / t / lib / LoadTest / Result / Foo.pm
index 7b20e1b..a8680ae 100644 (file)
@@ -1,26 +1,22 @@
-package # hide from PAUSE
-       LoadTest::Result::Foo;
+package    # hide from PAUSE
+    LoadTest::Result::Foo;
 
 use strict;
 use warnings;
-use parent qw(DBIx::Class::Core);
-use aliased 'DBIx::Class::ResultSource::MultipleTableInheritance';
-
-__PACKAGE__->table_class(MultipleTableInheritance);
+use parent 'DBIx::Class::Core';
+use aliased 'DBIx::Class::ResultSource::MultipleTableInheritance' => 'MTI';
 
+__PACKAGE__->table_class(MTI);
 __PACKAGE__->table('foo');
 
 __PACKAGE__->add_columns(
-  id => { data_type => 'integer', is_auto_increment => 1 },
-  a => { data_type => 'integer', is_nullable => 1 }
+    id => { data_type => 'integer', is_auto_increment => 1 },
+    a  => { data_type => 'integer', is_nullable       => 1 }
 );
 
 __PACKAGE__->set_primary_key('id');
 
-#__PACKAGE__->belongs_to(
-  #'bar',
-  #'LoadTest::Result::Bar',
-  #{ 'foreign.id' => 'self.a' }
-#);
+__PACKAGE__->belongs_to( 'bar', 'LoadTest::Result::Bar',
+    { 'foreign.id' => 'self.a' } );
 
 1;