From: Peter Rabbitson Date: Tue, 8 Dec 2009 13:23:31 +0000 (+0000) Subject: Fix the test - code is correct X-Git-Tag: v0.08116~106 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=237e9af389b2342587971cb8be5d56fb2bc4c355;p=dbsrgits%2FDBIx-Class.git Fix the test - code is correct --- 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;