X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fschema%2Fclone.t;h=8bc729fb463c9e5cda6246180470e459a6ad2051;hb=ed720bc5bef8e8497ef8c3a56efc55143a6bd465;hp=4ce817f678dd21c68d0aba058e540023c5b79f80;hpb=f30e859374060d238fdf1dab7f54a6a3c5753210;p=dbsrgits%2FDBIx-Class.git diff --git a/t/schema/clone.t b/t/schema/clone.t index 4ce817f..8bc729f 100644 --- a/t/schema/clone.t +++ b/t/schema/clone.t @@ -7,10 +7,7 @@ use DBICTest; my $schema = DBICTest->init_schema(); -ok ($schema->storage->connected, 'initialized schema connected'); - my $clone = $schema->clone; -ok (!$clone->storage->connected, 'The clone storage is not connected'); -cmp_ok ($clone->storage, 'ne', $schema->storage, 'Storage cloned with schema'); +cmp_ok ($clone->storage, 'eq', $schema->storage, 'Storage copied into new schema (not a new instance)'); done_testing;