6 use File::Slurp qw(slurp);
9 use dbixcsl_test_dir qw/$tdir/;
11 my $dump_path = "$tdir/dump";
14 package DBICTest::Schema::1;
15 use base qw/ DBIx::Class::Schema::Loader /;
16 __PACKAGE__->loader_options(
17 dump_directory => $dump_path,
21 DBICTest::Schema::1->connect($make_dbictest_db::dsn);
25 my $foo = slurp("$dump_path/DBICTest/Schema/1/Result/Foo.pm");
26 my $bar = slurp("$dump_path/DBICTest/Schema/1/Result/Bar.pm");
28 like($foo, qr/Result::Foo\n/, 'No error from lack of comment tables');
30 END { rmtree($dump_path, 1, 1); }