Added tests

This commit is contained in:
Alex
2025-07-10 20:44:27 +03:00
parent 341c1ab29b
commit 2b8a19cd3e
3 changed files with 158 additions and 1 deletions
+5 -1
View File
@@ -106,7 +106,11 @@ class Api
self::METHOD_POST,
self::ACTION_SUBSCRIPTIONS,
[],
compact('url', 'secret', 'update_types'),
[
'url' => $url,
'secret' => $secret,
'update_types' => $update_types ? array_map(fn($type) => $type->value, $update_types) : null,
]
)
);
}