From 93fbe8dccec7b14c024259f83543bde4a95be298 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 29 Jan 2023 14:10:25 +0100 Subject: feat(PHP8.2): Fix deprecated string interpolation Signed-off-by: Florian Pritz --- application/test/tests/api_v2/test_api_permissions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/test') 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"); } } -- cgit v1.2.3-24-g4f1b