Test::Deep actually isn't required
Peter Rabbitson [Sat, 20 Feb 2010 19:57:59 +0000 (19:57 +0000)]
Makefile.PL
t/admin/03data.t

index e747063..c0d9689 100644 (file)
@@ -25,7 +25,6 @@ my $build_requires = {
 my $test_requires = {
   'File::Temp'               => '0.22',
   'Test::Builder'            => '0.33',
-  'Test::Deep'               => '0',
   'Test::Exception'          => '0',
   'Test::More'               => '0.92',
   'Test::Warn'               => '0.21',
index 8bdd562..faad5be 100644 (file)
@@ -4,7 +4,6 @@ use warnings;
 use Test::More;
 
 use Test::Exception;
-use Test::Deep;
 
 BEGIN {
     require DBIx::Class;
@@ -54,7 +53,7 @@ use ok 'DBIx::Class::Admin';
   ];
   my $data;
   lives_ok { $data = $admin->select('Employee')} 'can retrive data from database';
-  cmp_deeply($data, $expected_data, 'DB matches whats expected');
+  is_deeply($data, $expected_data, 'DB matches whats expected');
 
   $admin->delete('Employee', {name=>'Trout'});
   my $del_rs  = $employees->search({name => 'Trout'});