X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2Fdbixcsl_common_tests.pm;h=4520528af05308ade63bea44d65cb61ad4ff3047;hb=d13aecb1c69f045203333458d35ac838c1802374;hp=b1348452b38e02b89d39e9ecfd0353f334f04464;hpb=fa6f8d4e55abe58e20f7fdeaa79dfc6e9d31fa10;p=dbsrgits%2FDBIx-Class-Schema-Loader.git diff --git a/t/lib/dbixcsl_common_tests.pm b/t/lib/dbixcsl_common_tests.pm index b134845..4520528 100644 --- a/t/lib/dbixcsl_common_tests.pm +++ b/t/lib/dbixcsl_common_tests.pm @@ -83,7 +83,7 @@ sub _custom_column_info { sub run_tests { my $self = shift; - plan tests => 155 + ($self->{extra}->{count} || 0); + plan tests => 156 + ($self->{extra}->{count} || 0); $self->create(); @@ -707,6 +707,9 @@ sub test_schema { isa_ok( $obj13->id, $class12 ); isa_ok( $obj13->loader_test12, $class12); isa_ok( $obj13->dat, $class12); + + my $obj12 = $rsobj12->find(1); + isa_ok( $obj12->loader_test13, $class13 ); } SKIP: {