1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/17465] Add unit tests for all functions in webpush controller

PHPBB-17465
This commit is contained in:
Marc Alexander
2025-02-02 17:15:34 +01:00
parent c5c6c96a50
commit c937b8f7ab
3 changed files with 474 additions and 15 deletions

View File

@@ -135,7 +135,6 @@ class webpush
// Decode and return data if everything is fine
$data = json_decode($notification_data, true);
$data['url'] = isset($data['url']) ? $this->path_helper->update_web_root_path($data['url']) : '';
return new JsonResponse($data);
}