From 7b90b4ba0e1027ad0f9b0572aafacff68f0014ce Mon Sep 17 00:00:00 2001 From: Matthias Held Date: Tue, 28 Aug 2018 18:16:00 +0200 Subject: Fix status code --- tests/Unit/Controller/ScanControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/Unit') diff --git a/tests/Unit/Controller/ScanControllerTest.php b/tests/Unit/Controller/ScanControllerTest.php index 9565bac..13960e2 100644 --- a/tests/Unit/Controller/ScanControllerTest.php +++ b/tests/Unit/Controller/ScanControllerTest.php @@ -211,7 +211,7 @@ class ScanControllerTest extends TestCase $result = $controller->filesToScan(); $this->assertTrue($result instanceof JSONResponse); - $this->assertEquals($result->getStatus(), Http::STATUS_ACCEPTED); + $this->assertEquals($result->getStatus(), Http::STATUS_OK); } public function dataScanSequence() -- cgit v1.2.3