mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Fixed invalid classname in test
This commit is contained in:
parent
88b3901a69
commit
efb4760244
@ -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.');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user