From 2662c4c61b5f8dcb274a1a205de1c2b0d8980b1c Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Thu, 26 Jun 2014 14:20:35 +0200 Subject: use id instead of resourceId --- tests/lib/appframework/routing/RoutingTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/lib/appframework') diff --git a/tests/lib/appframework/routing/RoutingTest.php b/tests/lib/appframework/routing/RoutingTest.php index 89cc77d684a..7cd07db6ce1 100644 --- a/tests/lib/appframework/routing/RoutingTest.php +++ b/tests/lib/appframework/routing/RoutingTest.php @@ -78,14 +78,14 @@ class RoutingTest extends \PHPUnit_Framework_TestCase { $routes = array('resources' => array('account' => array('url' => '/accounts'))); - $this->assertResource($routes, 'account', '/accounts', 'AccountController', 'accountId'); + $this->assertResource($routes, 'account', '/accounts', 'AccountController', 'id'); } public function testResourceWithUnderScoreName() { $routes = array('resources' => array('admin_accounts' => array('url' => '/admin/accounts'))); - $this->assertResource($routes, 'admin_accounts', '/admin/accounts', 'AdminAccountsController', 'adminAccountsId'); + $this->assertResource($routes, 'admin_accounts', '/admin/accounts', 'AdminAccountsController', 'id'); } /** -- cgit v1.2.3