diff --git a/core/modules/system/lib/Drupal/system/Tests/System/ExceptionControllerTest.php b/core/tests/Drupal/Tests/Core/Controller/ExceptionControllerTest.php similarity index 53% rename from core/modules/system/lib/Drupal/system/Tests/System/ExceptionControllerTest.php rename to core/tests/Drupal/Tests/Core/Controller/ExceptionControllerTest.php index 939432d16c81..020daab9866d 100644 --- a/core/modules/system/lib/Drupal/system/Tests/System/ExceptionControllerTest.php +++ b/core/tests/Drupal/Tests/Core/Controller/ExceptionControllerTest.php @@ -1,21 +1,26 @@ execute($flat_exception, new Request()); - $this->assertEqual($response->getStatusCode(), 405, 'HTTP status of response is correct.'); - $this->assertEqual($response->getContent(), 'Method Not Allowed', 'HTTP response body is correct.'); + $this->assertEquals($response->getStatusCode(), 405, 'HTTP status of response is correct.'); + $this->assertEquals($response->getContent(), 'Method Not Allowed', 'HTTP response body is correct.'); } + }