X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Finflate%2Fdatetime_oracle.t;fp=t%2Finflate%2Fdatetime_oracle.t;h=26a5357770614a1fde17bfa7da13a9c28ad868cf;hb=4ca1fd6fb90a85f5138d11f580394025aa20ea4a;hp=2a9b0c3532cea658ec33520a2e2e519d58e1cf81;hpb=728f32b5f4d25c15f4aea3e1b202d8d03997736b;p=dbsrgits%2FDBIx-Class.git diff --git a/t/inflate/datetime_oracle.t b/t/inflate/datetime_oracle.t index 2a9b0c3..26a5357 100644 --- a/t/inflate/datetime_oracle.t +++ b/t/inflate/datetime_oracle.t @@ -48,9 +48,10 @@ eval { }; $dbh->do("CREATE TABLE track (trackid NUMBER(12), cd NUMBER(12), position NUMBER(12), title VARCHAR(255), last_updated_on DATE, last_updated_at $timestamp_datatype)"); -TODO: { +# TODO is in effect for the rest of the tests local $TODO = 'FIXME - something odd is going on with Oracle < 9 datetime support' if ($schema->storage->_server_info->{normalized_dbms_version}||0) < 9; + lives_ok { # insert a row to play with @@ -103,7 +104,7 @@ is( $track->last_updated_at, $timestamp, 'DateTime round-trip as TIMESTAMP' ); is( int $track->last_updated_at->nanosecond, int 500_000_000, 'TIMESTAMP nanoseconds survived' ); -} 'dateteime operations executed correctly' } # end of lives_ok/TODO block +} 'dateteime operations executed correctly'; done_testing;