for my $moniker (@monikers){
my $source = $dbicschema->source($moniker);
next if $source->is_virtual;
- if ( $source->isa('DBIx::Class::ResultSource::Table') ||
- $source->isa('DBIx::Class::ResultSourceProxy::Table') ) {
+ if ( $source->isa('DBIx::Class::ResultSource::Table') ) {
push(@table_monikers, $moniker);
- } elsif( $source->isa('DBIx::Class::ResultSource::View') ||
- $source->isa('DBIx::Class::ResultSourceProxy::View') ){
+ } elsif( $source->isa('DBIx::Class::ResultSource::View') ){
push(@view_monikers, $moniker);
}
}
eval "use DBD::mysql; use SQL::Translator 0.09;";
plan $@
? ( skip_all => 'needs SQL::Translator 0.09 for testing' )
- : ( tests => 99 );
+ : ( tests => 102 );
}
my $schema = DBICTest->init_schema();