You've already forked Php-Template
feat: update Traefik healthcheck configuration and fix status code assertion in tests
Some checks failed
🧪✨ Tests Workflow / 🛡️ 🔒 Library Audit (push) Successful in 1m18s
🧪✨ Tests Workflow / 📝 ✨ Code Lint (push) Successful in 1m21s
🧪✨ Tests Workflow / 🧪 ✨ Database Migrations (push) Successful in 1m51s
🧪✨ Tests Workflow / 🛡️ 🔒 License Check (push) Successful in 1m46s
🧪✨ Tests Workflow / 🐙 🔍 Code Sniffer (push) Failing after 1m46s
🧪✨ Tests Workflow / 🧪 ✅ Unit Tests (push) Successful in 1m38s
Some checks failed
🧪✨ Tests Workflow / 🛡️ 🔒 Library Audit (push) Successful in 1m18s
🧪✨ Tests Workflow / 📝 ✨ Code Lint (push) Successful in 1m21s
🧪✨ Tests Workflow / 🧪 ✨ Database Migrations (push) Successful in 1m51s
🧪✨ Tests Workflow / 🛡️ 🔒 License Check (push) Successful in 1m46s
🧪✨ Tests Workflow / 🐙 🔍 Code Sniffer (push) Failing after 1m46s
🧪✨ Tests Workflow / 🧪 ✅ Unit Tests (push) Successful in 1m38s
This commit is contained in:
@@ -20,7 +20,7 @@ class JsonResponseFactoryTest extends TestCase
|
||||
|
||||
$response = JsonResponseFactory::createJsonResponse($data, $statusCode);
|
||||
|
||||
$this->assertSame($statusCode, $response->getStatusCode());
|
||||
$this->assertSame($statusCode->value, $response->getStatusCode());
|
||||
$this->assertSame('application/json', $response->getHeaderLine('Content-Type'));
|
||||
$this->assertSame(json_encode($data), (string) $response->getBody());
|
||||
}
|
||||
@@ -35,7 +35,7 @@ class JsonResponseFactoryTest extends TestCase
|
||||
|
||||
$response = JsonResponseFactory::createJsonResponse($data, $statusCode);
|
||||
|
||||
$this->assertSame($statusCode, $response->getStatusCode());
|
||||
$this->assertSame($statusCode->value, $response->getStatusCode());
|
||||
$this->assertSame('application/json', $response->getHeaderLine('Content-Type'));
|
||||
$this->assertSame(json_encode($data), (string) $response->getBody());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user