From: Peter Rabbitson Date: Sat, 20 Feb 2010 19:57:59 +0000 (+0000) Subject: Test::Deep actually isn't required X-Git-Tag: v0.08120~20 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=268310425c798353b02b928d43f0bd1ed9601032;p=dbsrgits%2FDBIx-Class.git Test::Deep actually isn't required --- diff --git a/Makefile.PL b/Makefile.PL index e747063..c0d9689 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -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', diff --git a/t/admin/03data.t b/t/admin/03data.t index 8bdd562..faad5be 100644 --- a/t/admin/03data.t +++ b/t/admin/03data.t @@ -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'});