Better test coverage
[dbsrgits/DBIx-Class-Schema-Loader.git] / t / 22dump.t
CommitLineData
fa994d3c 1use strict;
2use Test::More;
3use lib qw(t/lib);
4use 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
17plan tests => 1;
18
19eval { DBICTest::Schema->connect($make_dbictest_db::dsn) };
20ok(!$@, 'no death with dump_directory set')
21 or diag "Dump failed: $@";