fix tests

This commit is contained in:
root
2026-06-11 11:46:12 -04:00
parent c91fa2ce4d
commit 5ead80fdc7
1489 changed files with 11349 additions and 10305 deletions
@@ -39,7 +39,7 @@ class ConfigurationAdminController extends BaseApiController
public function update(ConfigurationUpdateRequest $request, int $id): JsonResponse
{
$config = $this->service->update($id, $request->validated());
if (!$config) {
if (! $config) {
return response()->json(['ok' => false, 'message' => 'Configuration not found.'], 404);
}
@@ -52,7 +52,7 @@ class ConfigurationAdminController extends BaseApiController
public function destroy(int $id): JsonResponse
{
$deleted = $this->service->delete($id);
if (!$deleted) {
if (! $deleted) {
return response()->json(['ok' => false, 'message' => 'Configuration not found.'], 404);
}
@@ -62,7 +62,7 @@ class ConfigurationAdminController extends BaseApiController
public function getByKey(string $configKey): JsonResponse
{
$config = $this->service->getByKey($configKey);
if (!$config) {
if (! $config) {
return response()->json(['ok' => false, 'message' => 'Configuration not found.'], 404);
}