aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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));
}