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%2FRPC%2FArtist.pm;fp=t%2Flib%2FRestTest%2FController%2FAPI%2FRPC%2FArtist.pm;h=e9a23cd77cb4779adbfd466d8440b1a4b8f30d66;hp=2d0367d1368e1c9086e4663d4aa7639b10b34471;hb=88b67dcdf3e0e7eec62209595a8a90f142da308d;hpb=167f91619e02db8320b61f428a1e09706e300bb4 diff --git a/t/lib/RestTest/Controller/API/RPC/Artist.pm b/t/lib/RestTest/Controller/API/RPC/Artist.pm index 2d0367d..e9a23cd 100644 --- a/t/lib/RestTest/Controller/API/RPC/Artist.pm +++ b/t/lib/RestTest/Controller/API/RPC/Artist.pm @@ -8,9 +8,9 @@ __PACKAGE__->config ( action => { setup => { PathPart => 'artist', Chained => '/api/rpc/rpc_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'}], - ); + ); 1;