aboutsummaryrefslogtreecommitdiff
path: root/tests/api_test.php
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2019-05-08 01:54:48 +0300
committerValentin Popov <info@valentineus.link>2019-05-08 01:54:48 +0300
commit9a1b78110774c38cc24645f20a42d6067ab5478d (patch)
tree142ca99074863c05943cd77c4e54bca9b4d230df /tests/api_test.php
parent8bf6ed81223678bd459e66b85af21b446853ef68 (diff)
downloadlocal_webhooks-9a1b78110774c38cc24645f20a42d6067ab5478d.tar.xz
local_webhooks-9a1b78110774c38cc24645f20a42d6067ab5478d.zip
Fixed error's list with CI
Signed-off-by: Valentin Popov <info@valentineus.link>
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);