X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F07-dump-all.t;fp=t%2F07-dump-all.t;h=111bfd68dbb43d6142cb2e5f92f003071b4b5412;hb=dae128233dce5699a01fd021787b041b744c6525;hp=498a4db1db08cf8714ffe19c917c84f9410cb821;hpb=98692f581b2e6c9034b0c4fdc856b1554ccc63dd;p=dbsrgits%2FDBIx-Class-Fixtures.git diff --git a/t/07-dump-all.t b/t/07-dump-all.t index 498a4db..111bfd6 100644 --- a/t/07-dump-all.t +++ b/t/07-dump-all.t @@ -6,15 +6,18 @@ use lib qw(t/lib); use DBICTest; use Path::Class; use Data::Dumper; +use Test::TempDir::Tiny; use IO::All; + +my $tempdir = tempdir; use if $^O eq 'MSWin32','Devel::Confess'; plan tests => 18; # set up and populate schema -ok(my $schema = DBICTest->init_schema( ), 'got schema'); +ok(my $schema = DBICTest->init_schema(db_dir => $tempdir, ), 'got schema'); my $config_dir = io->catfile(qw't var configs')->name; -my $fixture_dir = io->catfile(qw't var fixtures')->name; +my $fixture_dir = $tempdir; # do dump {