Classdata test from abraxxa
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / Artist.pm
index dd0cfda..baf730a 100644 (file)
@@ -6,4 +6,9 @@ DBICTest::Schema::Artist->table('artist');
 DBICTest::Schema::Artist->add_columns(qw/artistid name/);
 DBICTest::Schema::Artist->set_primary_key('artistid');
 
+__PACKAGE__->mk_classdata('field_name_for', {
+    artistid    => 'primary key',
+    name        => 'artist name',
+});
+
 1;