Created index tests for StackApiTestController

Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca>
This commit is contained in:
Ryan Fletcher
2018-08-15 21:15:19 +02:00
committed by Julius Härtl
parent 54f110f7c6
commit 891fa7b7d5
5 changed files with 125 additions and 42 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ class ApiHelper {
$entity = $service->find($entityId);
if ($entity === false || $entity === null) {
$error['message'] = $entityName . ' does not exist';
$error['message'] = $entityName . ' not found';
$error['status'] = HTTP::STATUS_NOT_FOUND;
return $error;
}