Navigation Menu

Skip to content

Commit

Permalink
Be more explicit on what the test is about.
Browse files Browse the repository at this point in the history
  • Loading branch information
bar committed Mar 31, 2014
1 parent 334c56f commit c34156a
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions tests/TestCase/Routing/RouterTest.php
Expand Up @@ -309,14 +309,7 @@ public function testMapResourcesWithExtension() {
$result = Router::parse('/posts.json');
$this->assertEquals($expected, $result);

$expected = array(
'plugin' => null,
'controller' => 'posts',
'action' => 'index',
'pass' => [],
'[method]' => 'GET',
'_ext' => 'xml',
);
$expected['_ext'] = 'xml';
$result = Router::parse('/posts.xml');
$this->assertEquals($expected, $result);
}
Expand Down

0 comments on commit c34156a

Please sign in to comment.