X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Finflate%2Fserialize.t;h=30d63ec37f00a2bc5096d6cbc8d63fc91069852f;hb=3705e3b2801ea6a8f770b6f0c528b119bea92fe9;hp=87fb7ce7828663b1a2dbe15b05d000be8d3f0d59;hpb=68de943862f06cabd397d2e74d12cd9cdc999779;p=dbsrgits%2FDBIx-Class.git diff --git a/t/inflate/serialize.t b/t/inflate/serialize.t index 87fb7ce..30d63ec 100644 --- a/t/inflate/serialize.t +++ b/t/inflate/serialize.t @@ -59,14 +59,14 @@ my $inflated; #======= testing hashref serialization -my $object = $rs->create( { +my $object = $rs->create( { serialized => '', } ); ok($object->update( { serialized => $struct_hash } ), 'hashref deflation'); ok($inflated = $object->serialized, 'hashref inflation'); is_deeply($inflated, $struct_hash, 'inflated hash matches original'); -$object = $rs->create( { +$object = $rs->create( { serialized => '', } ); $object->set_inflated_column('serialized', $struct_hash);