summaryrefslogtreecommitdiffstats
path: root/application/test
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2023-01-29 14:10:25 +0100
committerFlorian Pritz <bluewind@xinu.at>2023-01-29 14:10:25 +0100
commit93fbe8dccec7b14c024259f83543bde4a95be298 (patch)
tree883786b47f0246ec6e0fb85b8b72af703cfaa152 /application/test
parentc88be04f0ec35304be812d7f5379c4362008b730 (diff)
feat(PHP8.2): Fix deprecated string interpolation
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/test')
-rw-r--r--application/test/tests/api_v2/test_api_permissions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/test/tests/api_v2/test_api_permissions.php b/application/test/tests/api_v2/test_api_permissions.php
index 6df612911..281457c45 100644
--- a/application/test/tests/api_v2/test_api_permissions.php
+++ b/application/test/tests/api_v2/test_api_permissions.php
@@ -99,7 +99,7 @@ class test_api_permissions extends common {
$this->t->is_deeply(array(
'status' => "error",
'error_id' => "api/insufficient-permissions",
- 'message' => "Access denied: Access level too low. Required: ${test['wanted_level']}; Have: ${test['have_level']}",
+ 'message' => "Access denied: Access level too low. Required: {$test['wanted_level']}; Have: {$test['have_level']}",
), $ret, "expected permission error");
}
}