use_ok('DBIC::DebugObj');
my $schema = DBICTest->init_schema();
-diag('Testing against ' . join(' ', map { $schema->storage->dbh->get_info($_) } qw/17 18/));
+#diag('Testing against ' . join(' ', map { $schema->storage->dbh->get_info($_) } qw/17 18/));
$schema->storage->sql_maker->quote_char('`');
$schema->storage->sql_maker->name_sep('.');
my $schema = DBICTest->init_schema();
-diag('Testing against ' . join(' ', map { $schema->storage->dbh->get_info($_) } qw/17 18/));
+#diag('Testing against ' . join(' ', map { $schema->storage->dbh->get_info($_) } qw/17 18/));
my $dsn = $schema->storage->_dbi_connect_info->[0];
$schema->connection(
use lib 't/lib';
+=begin
+
+How did this get back here? The test is borked, there is a branch with
+the correct test and a tentative fix - branches/subclassed_rsset
+
+Make sure to nuke this file when merging, it is only left here to make
+merging of the above branch easier.
+
+
+ribasushi
+
+
+=cut
+
+
+__END__
+
+
+
plan tests => 15;
sub _chk_warning {
} );
SKIP:{
- skip "Can't fix right now", 1 unless $DBIx::Class::VERSION >= '0.09';
+ skip "Can't fix right now", 1 if $DBIx::Class::VERSION < 0.09;
lives_ok { $big_flop->genre} "Don't throw exception when col is not loaded after insert";
};
}
=> 'Created an artist resultset of undef';
TODO: {
- $TODO = "need to fix the row count =1 when select * from table where pk IS NULL problem";
+ local $TODO = "need to fix the row count =1 when select * from table where pk IS NULL problem";
is $artist2_rs->count, 0
=> 'got no rows';
}
use lib qw(t/lib);
use DBICTest;
-DBICTest::Schema->load_classes('EventTZDeprecated');
+{
+ local $SIG{__WARN__} = sub { warn @_ if $_[0] !~ /extra \=\> .+? has been deprecated/ };
+ DBICTest::Schema->load_classes('EventTZDeprecated');
+}
my $schema = DBICTest->init_schema();