aboutsummaryrefslogtreecommitdiff
path: root/tests/api_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/api_test.php')
-rw-r--r--tests/api_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/api_test.php b/tests/api_test.php
index f68ae52..461ddc6 100644
--- a/tests/api_test.php
+++ b/tests/api_test.php
@@ -292,7 +292,7 @@ final class local_webhooks_api_testcase extends advanced_testcase {
}
self::assertCount(1, api::get_services([
- 'name' => 'Example name #' . random_int(5, $total),
+ 'point' => 'http://example.org/test_' . random_int(1, 5),
]));
$limit = intdiv($total, 2);