From: Matt S Trout Date: Tue, 11 Mar 2008 03:15:09 +0000 (+0000) Subject: moved t/cdbi-t/08-inheritcols.t to use CDBICompat X-Git-Tag: v0.08240~539 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a2ed1a5f6c18bbcd20c17aa6796116b6a7c12df3;hp=c0b5f828ed20f8b02980a56072e8aff70b7e24d3;p=dbsrgits%2FDBIx-Class.git moved t/cdbi-t/08-inheritcols.t to use CDBICompat --- diff --git a/t/cdbi-t/08-inheritcols.t b/t/cdbi-t/08-inheritcols.t index 7c66949..af29424 100644 --- a/t/cdbi-t/08-inheritcols.t +++ b/t/cdbi-t/08-inheritcols.t @@ -1,12 +1,16 @@ #!/usr/bin/perl -w use strict; -use Test::More tests => 3; +use Test::More; -use Class::DBI; +BEGIN { + eval "use DBIx::Class::CDBICompat;"; + plan $@ ? (skip_all => 'Class::Trigger and DBIx::ContextualFetch required') + : (tests=> 3); +} package A; -@A::ISA = qw(Class::DBI); +@A::ISA = qw(DBIx::Class::CDBICompat); __PACKAGE__->columns(Primary => 'id'); package A::B;