diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-06-26 14:20:35 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-06-26 14:20:35 +0200 |
commit | 2662c4c61b5f8dcb274a1a205de1c2b0d8980b1c (patch) | |
tree | cca079637128f9d5d7050dcb1ce9518b6da6f27b /tests | |
parent | 5496ca234bf5537ecf44311bcd7c50502c1982e2 (diff) | |
download | nextcloud-server-2662c4c61b5f8dcb274a1a205de1c2b0d8980b1c.tar.gz nextcloud-server-2662c4c61b5f8dcb274a1a205de1c2b0d8980b1c.zip |
use id instead of resourceId
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/appframework/routing/RoutingTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
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'); } /** |