Remove DateTime requirement from tests that do not rely on it
[dbsrgits/DBIx-Class.git] / t / 96_is_deteministic_value.t
diff --git a/t/96_is_deteministic_value.t b/t/96_is_deteministic_value.t
deleted file mode 100644 (file)
index 330d294..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-use DBIx::Class::Optional::Dependencies -skip_all_without => 'test_dt';
-
-use strict;
-use warnings;
-
-use Test::More;
-use Test::Exception;
-
-use lib qw(t/lib);
-use DBICTest;
-
-my $schema = DBICTest->init_schema();
-my $artist_rs = $schema->resultset('Artist');
-my $cd_rs = $schema->resultset('CD');
-
- {
-   my $cd;
-   lives_ok {
-     $cd = $cd_rs->search({ year => {'=' => 1999}})->create
-       ({
-         artist => {name => 'Guillermo1'},
-         title => 'Guillermo 1',
-        });
-   };
-   is($cd->year, 1999);
- }
-
- {
-   my $formatter = DateTime::Format::Strptime->new(pattern => '%Y');
-   my $dt = DateTime->new(year => 2006, month => 06, day => 06,
-                          formatter => $formatter );
-   my $cd;
-   lives_ok {
-     $cd = $cd_rs->search({ year => $dt})->create
-       ({
-         artist => {name => 'Guillermo2'},
-         title => 'Guillermo 2',
-        });
-   };
-   is($cd->year, 2006);
- }
-
-
-{
-  my $artist;
-  lives_ok {
-    $artist = $artist_rs->search({ name => {'!=' => 'Killer'}})
-      ->create({artistid => undef});
-  };
-  is($artist->name, undef);
-}
-
-
-{
-  my $artist;
-  lives_ok {
-    $artist = $artist_rs->search({ name => [ qw(some stupid names here) ]})
-      ->create({artistid => undef});
-  };
-  is($artist->name, undef);
-}
-
-done_testing;