Commit | Line | Data |
---|---|---|
fa994d3c | 1 | use strict; |
2 | use Test::More; | |
3 | use lib qw(t/lib); | |
4 | use make_dbictest_db; | |
5 | ||
6 | { | |
7 | package DBICTest::Schema; | |
8 | use base qw/ DBIx::Class::Schema::Loader /; | |
9 | __PACKAGE__->loader_options( | |
10 | relationships => 1, | |
11 | dump_directory => './t/_dump', | |
12 | dump_overwrite => 1, | |
13 | ); | |
14 | ||
15 | } | |
16 | ||
17 | plan tests => 1; | |
18 | ||
19 | eval { DBICTest::Schema->connect($make_dbictest_db::dsn) }; | |
20 | ok(!$@, 'no death with dump_directory set') | |
21 | or diag "Dump failed: $@"; |