aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2019-05-10 14:22:48 +0300
committerValentin Popov <info@valentineus.link>2019-05-10 14:22:48 +0300
commite84ac6859a9eebe185b44ddb7ee44eafdfff5be1 (patch)
treef8261b86f3a084c55892fec52d85ea830984b932 /tests
parente550237b4becf3960801c7dddf7a92d712000a0f (diff)
downloadlocal_webhooks-e84ac6859a9eebe185b44ddb7ee44eafdfff5be1.tar.xz
local_webhooks-e84ac6859a9eebe185b44ddb7ee44eafdfff5be1.zip
Renamed a classes function "delete_service"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'tests')
-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 cd6ef6e..2da6a3d 100644
--- a/tests/api_test.php
+++ b/tests/api_test.php
@@ -118,7 +118,7 @@ final class local_webhooks_api_testcase extends advanced_testcase {
$record = self::get_random_record();
$record->id = api::add_service($record);
- self::assertTrue(api::delete_service($record->id));
+ self::assertTrue(api::del_service($record->id));
self::assertCount(0, $DB->get_records(LW_TABLE_EVENTS));
self::assertCount(0, $DB->get_records(LW_TABLE_SERVICES));
}