aboutsummaryrefslogtreecommitdiff
path: root/tests/api_test.php
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2019-05-10 14:20:56 +0300
committerValentin Popov <info@valentineus.link>2019-05-10 14:20:56 +0300
commite550237b4becf3960801c7dddf7a92d712000a0f (patch)
treeb1b25ca7397e159cf0db54007102361683459573 /tests/api_test.php
parentdb2d98d210ae7c8df99d5cd2473f7e57fb5028f5 (diff)
downloadlocal_webhooks-e550237b4becf3960801c7dddf7a92d712000a0f.tar.xz
local_webhooks-e550237b4becf3960801c7dddf7a92d712000a0f.zip
Renamed a classes function "update_service"
Signed-off-by: Valentin Popov <info@valentineus.link>
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 f079980..cd6ef6e 100644
--- a/tests/api_test.php
+++ b/tests/api_test.php
@@ -326,7 +326,7 @@ final class local_webhooks_api_testcase extends advanced_testcase {
$record2 = self::get_random_record();
$record2->id = api::add_service($record1);
- self::assertTrue(api::update_service($record2));
+ self::assertTrue(api::set_service($record2));
$events = $DB->get_records(LW_TABLE_EVENTS);
$services = $DB->get_records(LW_TABLE_SERVICES);