You've already forked Php-Template
fix: update ServerErrorResponseTest to use dynamic file paths for exceptions
All checks were successful
🧪✨ Tests Workflow / 🛡️ 🔒 License Check (push) Successful in 2m32s
🧪✨ Tests Workflow / 🛡️ 🔒 Library Audit (push) Successful in 2m47s
🧪✨ Tests Workflow / 📝 ✨ Code Lint (push) Successful in 2m43s
🧪✨ Tests Workflow / 🐙 🔍 Code Sniffer (push) Successful in 2m49s
🧪✨ Tests Workflow / 🧪 ✅ Unit Tests (push) Successful in 2m57s
🧪✨ Tests Workflow / 🧪 ✨ Database Migrations (push) Successful in 1m50s
🏗️✨ Build Workflow / 🖥️ 🔨 Build (push) Successful in 16m55s
🏗️✨ Build Workflow / 🖥️ 🔨 Build Migrations (push) Successful in 1m45s
All checks were successful
🧪✨ Tests Workflow / 🛡️ 🔒 License Check (push) Successful in 2m32s
🧪✨ Tests Workflow / 🛡️ 🔒 Library Audit (push) Successful in 2m47s
🧪✨ Tests Workflow / 📝 ✨ Code Lint (push) Successful in 2m43s
🧪✨ Tests Workflow / 🐙 🔍 Code Sniffer (push) Successful in 2m49s
🧪✨ Tests Workflow / 🧪 ✅ Unit Tests (push) Successful in 2m57s
🧪✨ Tests Workflow / 🧪 ✨ Database Migrations (push) Successful in 1m50s
🏗️✨ Build Workflow / 🖥️ 🔨 Build (push) Successful in 16m55s
🏗️✨ Build Workflow / 🖥️ 🔨 Build Migrations (push) Successful in 1m45s
This commit is contained in:
@@ -24,7 +24,7 @@ class ServerErrorResponseTest extends Unit
|
|||||||
'context' => [
|
'context' => [
|
||||||
'operation' => 'data_processing'
|
'operation' => 'data_processing'
|
||||||
],
|
],
|
||||||
'file' => '/app/tests/Http/Responses/ServerErrorResponseTest.php',
|
'file' => $e->getFile(),
|
||||||
'line' => $e->getLine(),
|
'line' => $e->getLine(),
|
||||||
'trace' => $e->getTrace(),
|
'trace' => $e->getTrace(),
|
||||||
];
|
];
|
||||||
@@ -77,7 +77,7 @@ class ServerErrorResponseTest extends Unit
|
|||||||
$expected = [
|
$expected = [
|
||||||
'status_code' => 1234,
|
'status_code' => 1234,
|
||||||
'message' => 'A Test Error occurred.',
|
'message' => 'A Test Error occurred.',
|
||||||
'file' => '/app/tests/Http/Responses/ServerErrorResponseTest.php',
|
'file' => $exception->getFile(),
|
||||||
'line' => $exception->getLine(),
|
'line' => $exception->getLine(),
|
||||||
'trace' => $exception->getTrace(),
|
'trace' => $exception->getTrace(),
|
||||||
'context' => [],
|
'context' => [],
|
||||||
|
|||||||
Reference in New Issue
Block a user