Skip to content

Commit 8fed506

Browse files
committed
Fix failing test.
1 parent e9b3f55 commit 8fed506

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/TestCase/Controller/ToolbarControllerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ public function setUp()
5252
*/
5353
public function testClearCacheNoGet()
5454
{
55-
$this->get('/debug-kit/toolbar/clear_cache?name=testing');
56-
$this->assertResponseCode(404);
55+
$this->get('/debug-kit/toolbar/clear-cache?name=testing');
56+
$this->assertResponseCode(405);
5757
}
5858

5959
/**

0 commit comments

Comments
 (0)