From: Justin Hunter Date: Tue, 8 Sep 2009 19:17:20 +0000 (-0700) Subject: change of namespace for Objects (Schema becomes Object) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1d8914e7e1db7f3fc6237203c1b746b1dd9419b4;p=dbsrgits%2FSQL-Translator-2.0-ish.git change of namespace for Objects (Schema becomes Object) --- diff --git a/t/02mysql-parser.t b/t/02mysql-parser.t index fd42402..a058f80 100644 --- a/t/02mysql-parser.t +++ b/t/02mysql-parser.t @@ -308,7 +308,7 @@ use SQL::Translator::Constants qw(:sqlt_types :sqlt_constants); is( $f7->is_nullable, 0, 'Field cannot be null' ); is( $f7->is_foreign_key, 1, 'Field is a FK' ); my $fk_ref = $f7->foreign_key_reference; - isa_ok( $fk_ref, 'SQL::Translator::Schema::Constraint', 'FK' ); + isa_ok( $fk_ref, 'SQL::Translator::Object::Constraint', 'FK' ); is( $fk_ref->reference_table, 'store', 'FK is to "store" table' ); my $f8 = shift @fields;