diff options
Diffstat (limited to 'tests/Unit/Controller')
-rw-r--r-- | tests/Unit/Controller/FileOperationControllerTest.php | 2 | ||||
-rw-r--r-- | tests/Unit/Controller/SettingsControllerTest.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/Unit/Controller/FileOperationControllerTest.php b/tests/Unit/Controller/FileOperationControllerTest.php index 04e6fc5..963da03 100644 --- a/tests/Unit/Controller/FileOperationControllerTest.php +++ b/tests/Unit/Controller/FileOperationControllerTest.php @@ -123,7 +123,7 @@ class FileOperationControllerTest extends TestCase $result = $controller->findAll(); $this->assertTrue($result instanceof JSONResponse); - $this->assertEquals($result->getStatus(), Http::STAUTS_OK); + $this->assertEquals($result->getStatus(), Http::STATUS_OK); } public function dataRecover() diff --git a/tests/Unit/Controller/SettingsControllerTest.php b/tests/Unit/Controller/SettingsControllerTest.php index 8c2fd5f..47812a8 100644 --- a/tests/Unit/Controller/SettingsControllerTest.php +++ b/tests/Unit/Controller/SettingsControllerTest.php @@ -66,7 +66,7 @@ class SettingsControllerTest extends TestCase $result = $controller->findAll(); $this->assertTrue($result instanceof JSONResponse); - $this->assertEquals($result->getStatus(), Http::STAUTS_OK); + $this->assertEquals($result->getStatus(), Http::STATUS_OK); } public function testChangeColorMode() @@ -81,6 +81,6 @@ class SettingsControllerTest extends TestCase $result = $controller->update(1, 0); $this->assertTrue($result instanceof JSONResponse); - $this->assertEquals($result->getStatus(), Http::STAUTS_OK); + $this->assertEquals($result->getStatus(), Http::STATUS_OK); } } |