X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class-DeploymentHandler.git;a=blobdiff_plain;f=t%2Fmigration_schema%2Fschema_loader.t;fp=t%2Fmigration_schema%2Fschema_loader.t;h=8aa3cdd9d35ecae8ce7448433bdde153ac17241c;hp=0000000000000000000000000000000000000000;hb=087d8c8a1a623567fc60a3d61cc8cff0bfdb90be;hpb=41a539b4f7147fb311409eb99ddd3a71f5787bbe diff --git a/t/migration_schema/schema_loader.t b/t/migration_schema/schema_loader.t new file mode 100644 index 0000000..8aa3cdd --- /dev/null +++ b/t/migration_schema/schema_loader.t @@ -0,0 +1,21 @@ +#!perl + +use strict; +use warnings; + +use Test::More; + +use lib 't/lib'; + +use aliased 'DBIx::Class::DeploymentHandler::MigrationSchema::SchemaLoader'; + +my $ref = \''; +my $ms = SchemaLoader->new({ + schema => $ref, +}); + +ok($ms, 'MigrationSchema gets instantiated'); + +note('doing anything else in this test is way hard. We just test this in the integration tests'); + +done_testing;