adding failing test to make sure insert doesnt call set_column
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema.pm
1 package # hide from PAUSE
2     DBICTest::Schema;
3
4 use base qw/DBIx::Class::Schema/;
5
6 no warnings qw/qw/;
7
8 __PACKAGE__->load_classes(qw/
9   Artist
10   SequenceTest
11   BindType
12   Employee
13   CD
14   FileColumn
15   Genre
16   Link
17   Bookmark
18   #dummy
19   Track
20   Tag
21   /,
22   { 'DBICTest::Schema' => [qw/
23     LinerNotes
24     Artwork
25     Artwork_to_Artist
26     Image
27     Lyrics
28     LyricVersion
29     OneKey
30     #dummy
31     TwoKeys
32     Serialized
33   /]},
34   (
35     'FourKeys',
36     'FourKeys_to_TwoKeys',
37     '#dummy',
38     'SelfRef',
39     'ArtistUndirectedMap',
40     'ArtistSourceName',
41     'ArtistSubclass',
42     'Producer',
43     'CD_to_Producer',
44   ),
45   qw/SelfRefAlias TreeLike TwoKeyTreeLike Event EventTZ NoPrimaryKey/,
46   qw/Collection CollectionObject TypedObject Owners BooksInLibrary/,
47   qw/ForceForeign Encoded/,
48 );
49
50 sub sqlt_deploy_hook {
51   my ($self, $sqlt_schema) = @_;
52
53   $sqlt_schema->drop_table('dummy');
54 }
55
56 1;