* Fixes
- Fix tests for DBD::SQLite >= 1.34.
+ - Fix test failures with DBICTEST_SQLITE_USE_FILE set
- Fix the find() condition heuristics being invoked even when the
call defaults to 'primary' (i.e. when invoked with bare values)
- Throw much clearer error on incorrect inflation spec
return $self->next::method(@_);
}
-my $schema = DBICTest->init_schema (no_deploy => 1);
-
# Check deployment statements ctx sensitivity
{
+ my $schema = DBICTest->init_schema (no_deploy => 1);
my $not_first_table_creation_re = qr/CREATE TABLE fourkeys_to_twokeys/;
my $statements = $schema->deployment_statements;
ok($component_deploy_hook_called, 'component deploy hook got called');
}
+my $schema = DBICTest->init_schema (no_deploy => 1);
+
{
my $deploy_hook_called = 0;
$custom_deployment_statements_called = 0;
lives_ok { isa_ok (create_schema ({ schema => 'DBICTest::Schema' }), 'SQL::Translator::Schema', 'SQLT schema object produced') };
-my $schema = DBICTest->init_schema();
+my $schema = DBICTest->init_schema( no_deploy => 1 );
+
# Dummy was yanked out by the sqlt hook test
# CustomSql tests the horrific/deprecated ->name(\$sql) hack
# YearXXXXCDs are views
use DBIC::SqlMakerTest;
use Path::Class qw/file/;
-BEGIN { delete @ENV{qw(DBIC_TRACE_PROFILE)} }
+BEGIN { delete @ENV{qw(DBIC_TRACE_PROFILE DBICTEST_SQLITE_USE_FILE)} }
my $schema = DBICTest->init_schema();