Correct constraint names in preprocess for MySQL producer
[dbsrgits/SQL-Translator.git] / t / 34tt-base.t
index 7170260..02fdca8 100644 (file)
@@ -10,7 +10,9 @@ use Test::Exception;
 use Test::SQL::Translator qw(maybe_plan);
 
 BEGIN {
-    maybe_plan(4, 'Template', 'Test::Differences')
+    maybe_plan(4, 'Template', 
+               'Test::Differences', 
+               'SQL::Translator::Parser::XML::SQLFairy')
 }
 use Test::Differences;
 
@@ -40,8 +42,13 @@ eq_or_diff $out, <DATA>              ,"Output looks right";
 
 __DATA__
 Hello World
-Tables: Basic
+Tables: Basic, Another
 
 Basic
 ------
-Fields: id title description email explicitnulldef explicitemptystring emptytagdef
+Fields: id title description email explicitnulldef explicitemptystring emptytagdef another_id timest
+
+Another
+------
+Fields: id
+