Fixed invalid classname in test

This commit is contained in:
Sam Minnee 2013-02-25 16:44:54 +13:00
parent 88b3901a69
commit efb4760244

View File

@ -37,7 +37,7 @@ class ControllerTest extends FunctionalTest {
}
public function testUndefinedActions() {
$response = Director::test('ControllerTest_AccessUnsecuredSubController/undefinedaction');
$response = $this->get('ControllerTest_IndexSecuredController/undefinedaction');
$this->assertInstanceOf('SS_HTTPResponse', $response);
$this->assertEquals(404, $response->getStatusCode(), 'Undefined actions return a not found response.');
}