[Catalyst-commits] r9620 -
Catalyst-Controller-DBIC-API/1.002/trunk/t/rpc
lukes at dev.catalyst.perl.org
lukes at dev.catalyst.perl.org
Mon Mar 30 17:15:51 BST 2009
Author: lukes
Date: 2009-03-30 17:15:51 +0100 (Mon, 30 Mar 2009)
New Revision: 9620
Modified:
Catalyst-Controller-DBIC-API/1.002/trunk/t/rpc/list.t
Log:
corrected same fk/rel test descriptions
Modified: Catalyst-Controller-DBIC-API/1.002/trunk/t/rpc/list.t
===================================================================
--- Catalyst-Controller-DBIC-API/1.002/trunk/t/rpc/list.t 2009-03-30 15:56:32 UTC (rev 9619)
+++ Catalyst-Controller-DBIC-API/1.002/trunk/t/rpc/list.t 2009-03-30 16:15:51 UTC (rev 9620)
@@ -200,12 +200,12 @@
$uri->query_form({ 'search.artist.artistid' => 1 });
my $req = GET( $uri, 'Accept' => 'text/x-json' );
$mech->request($req);
- cmp_ok( $mech->status, '==', 200, 'search on rel column with same name rel request okay' );
+ cmp_ok( $mech->status, '==', 200, 'search on rel column with same name fk request okay' );
my @expected_response = map { { $_->get_columns } } $schema->resultset('CD')->search({'artist.artistid' => 1}, { join => 'artist' })->all;
my $response = JSON::Syck::Load( $mech->content);
#use Data::Dumper; warn Dumper($response, \@expected_response);
- is_deeply( { list => \@expected_response, success => 'true' }, $response, 'correct data returned for search on column with same name rel' );
+ is_deeply( { list => \@expected_response, success => 'true' }, $response, 'correct data returned for search on rel column with same name rel fk' );
}
{
More information about the Catalyst-commits
mailing list