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 c2a2f80..5bca6ab 100644
--- a/tests/api_test.php
+++ b/tests/api_test.php
@@ -122,10 +122,10 @@ final class local_webhooks_api_testcase extends advanced_testcase {
self::assertCount(0, $DB->get_records(LW_TABLE_EVENTS));
self::assertCount(0, $DB->get_records(LW_TABLE_SERVICES));
- // Testing correct delete record of the record's list.
$ids = [];
$total = random_int(5, 20);
+ // Testing correct delete record of the record's list.
for ($i = 0; $i < $total; $i++) {
$record = self::get_random_record();
$ids[] = api::add_service($record);