Squashed an extraneous warning in 82cascade_copy.t and fixed up 26dumper.t
[dbsrgits/DBIx-Class.git] / t / 84serialize.t
CommitLineData
70350518 1use strict;
2use warnings;
3
4use Test::More;
5use lib qw(t/lib);
6use DBICTest;
69ac22ee 7use Storable;
8
70350518 9my $schema = DBICTest::init_schema();
69ac22ee 10
11plan tests => 1;
12
13my $artist = $schema->resultset('Artist')->find(1);
14my $copy = eval { Storable::dclone($artist) };
15is_deeply($copy, $artist, 'serialize row object works');
16