Pass attrs to find from update_or_create (reported by Nathan Kurz)
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema.pm
index 4c46a54..8e7597d 100644 (file)
@@ -1,8 +1,39 @@
-package DBICTest::Schema;
+package # hide from PAUSE
+    DBICTest::Schema;
 
 use base qw/DBIx::Class::Schema/;
 
+no warnings qw/qw/;
+
 __PACKAGE__->load_classes(qw/
-  Artist CD Track Tag LinerNotes OneKey TwoKeys FourKeys/);
+  Artist
+  Employee
+  CD
+  Link
+  Bookmark
+  #dummy
+  Track
+  Tag
+  /,
+  { 'DBICTest::Schema' => [qw/
+    LinerNotes
+    OneKey
+    #dummy
+    TwoKeys
+    Serialized
+  /]},
+  (
+    'FourKeys',
+    'FourKeys_to_TwoKeys',
+    '#dummy',
+    'SelfRef',
+    'ArtistUndirectedMap',
+    'ArtistSourceName',
+    'ArtistSubclass',
+    'Producer',
+    'CD_to_Producer',
+  ),
+  qw/SelfRefAlias TreeLike TwoKeyTreeLike Event NoPrimaryKey/
+);
 
 1;