[Bast-commits] r6637 - DBIx-Class/0.08/trunk/t
ribasushi at dev.catalyst.perl.org
ribasushi at dev.catalyst.perl.org
Thu Jun 11 20:09:55 GMT 2009
Author: ribasushi
Date: 2009-06-11 20:09:55 +0000 (Thu, 11 Jun 2009)
New Revision: 6637
Modified:
DBIx-Class/0.08/trunk/t/60core.t
Log:
Adjust tests for the DT::F::MySQL -> DT::F::SQLite change
Modified: DBIx-Class/0.08/trunk/t/60core.t
===================================================================
--- DBIx-Class/0.08/trunk/t/60core.t 2009-06-11 20:02:11 UTC (rev 6636)
+++ DBIx-Class/0.08/trunk/t/60core.t 2009-06-11 20:09:55 UTC (rev 6637)
@@ -11,7 +11,7 @@
plan tests => 106;
-eval { require DateTime::Format::MySQL };
+eval { require DateTime::Format::SQLite };
my $NO_DTFM = $@ ? 1 : 0;
my @art = $schema->resultset("Artist")->search({ }, { order_by => 'name DESC'});
@@ -195,7 +195,7 @@
# get_inflated_columns w/relation and accessor alias
SKIP: {
- skip "This test requires DateTime::Format::MySQL", 8 if $NO_DTFM;
+ skip "This test requires DateTime::Format::SQLite", 8 if $NO_DTFM;
isa_ok($new->updated_date, 'DateTime', 'have inflated object via accessor');
my %tdata = $new->get_inflated_columns;
@@ -389,7 +389,7 @@
# test get_inflated_columns with objects
SKIP: {
- skip "This test requires DateTime::Format::MySQL", 5 if $NO_DTFM;
+ skip "This test requires DateTime::Format::SQLite", 5 if $NO_DTFM;
my $event = $schema->resultset('Event')->search->first;
my %edata = $event->get_inflated_columns;
is($edata{'id'}, $event->id, 'got id');
More information about the Bast-commits
mailing list