diff options
author | Valentin Popov <info@valentineus.link> | 2019-05-10 23:17:20 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2019-05-10 23:17:20 +0300 |
commit | ed0ce52060690eff5459c037338d26796307ef79 (patch) | |
tree | b555dc3316a47296a71c32149766889d53b0dd55 /tests/api_test.php | |
parent | 6b18cffc970a69a292c2d9836ff5b460a5d1005a (diff) | |
download | local_webhooks-ed0ce52060690eff5459c037338d26796307ef79.tar.xz local_webhooks-ed0ce52060690eff5459c037338d26796307ef79.zip |
Added external function delete service
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'tests/api_test.php')
-rw-r--r-- | tests/api_test.php | 2 |
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); |