From e550237b4becf3960801c7dddf7a92d712000a0f Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 10 May 2019 15:20:56 +0400 Subject: Renamed a classes function "update_service" Signed-off-by: Valentin Popov --- tests/api_test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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); -- cgit v1.2.3