Add strict/warnings test, adjust all offenders (wow, that was a lot)
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / Year2000CDs.pm
index 8b00356..f0890a3 100644 (file)
@@ -1,6 +1,9 @@
 package # hide from PAUSE
     DBICTest::Schema::Year2000CDs;
 
+use warnings;
+use strict;
+
 use base qw/DBICTest::Schema::CD/;
 
 __PACKAGE__->table_class('DBIx::Class::ResultSource::View');
@@ -8,7 +11,7 @@ __PACKAGE__->table('year2000cds');
 
 # need to operate on the instance for things to work
 __PACKAGE__->result_source_instance->view_definition( sprintf (
-  'SELECT %s FROM cd WHERE year ="2000"',
+  'SELECT %s FROM cd WHERE year = "2000"',
   join (', ', __PACKAGE__->columns),
 ));