diff --git a/app/Controllers/Test/TestsController.php b/app/Controllers/Test/TestsController.php index 28d87c6..f9ab280 100755 --- a/app/Controllers/Test/TestsController.php +++ b/app/Controllers/Test/TestsController.php @@ -195,11 +195,11 @@ class TestsController extends BaseController return $this->failServerError('Transaction failed'); } - return $this->respondCreated([ - 'status' => 'created', - 'message' => 'Test created successfully', - 'data' => ['TestSiteId' => $id], - ]); + return $this->respondCreated([ + 'status' => 'success', + 'message' => 'Test created successfully', + 'data' => ['TestSiteId' => $id], + ]); } catch (\Exception $e) { $db->transRollback();