X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Controller-DBIC-API.git;a=blobdiff_plain;f=t%2Flib%2FRestTest%2FController%2FAPI%2FREST%2FArtist.pm;fp=t%2Flib%2FRestTest%2FController%2FAPI%2FREST%2FArtist.pm;h=ea5a4bca4893fc907e8c5eaee0d44ae8a7b39296;hp=d2ceadadc9b5cd39d7938d8d9384c4f9f704e462;hb=88b67dcdf3e0e7eec62209595a8a90f142da308d;hpb=167f91619e02db8320b61f428a1e09706e300bb4 diff --git a/t/lib/RestTest/Controller/API/REST/Artist.pm b/t/lib/RestTest/Controller/API/REST/Artist.pm index d2ceada..ea5a4bc 100644 --- a/t/lib/RestTest/Controller/API/REST/Artist.pm +++ b/t/lib/RestTest/Controller/API/REST/Artist.pm @@ -7,8 +7,8 @@ __PACKAGE__->config ( action => { setup => { PathPart => 'artist', Chained => '/api/rest/rest_base' } }, class => 'RestTestDB::Artist', create_requires => ['name'], - create_allows => ['name'], - update_allows => ['name'], + create_allows => ['name', { cds => ['*'] }], + update_allows => ['name', { cds => ['*'] }], prefetch_allows => [[qw/ cds /],{ 'cds' => 'tracks'}], );