From ed0ce52060690eff5459c037338d26796307ef79 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sat, 11 May 2019 00:17:20 +0400 Subject: Added external function delete service Signed-off-by: Valentin Popov --- tests/api_test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/api_test.php') 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); -- cgit v1.2.3