From 7748869a4be395dccec860e25e041c08b2d49bc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AB=98=E6=9B=A6?= Date: Thu, 17 Aug 2023 08:10:34 +0000 Subject: [PATCH] update contactstage.test.ets. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 高曦 --- .../entry/src/main/ets/test/contactstage.test.ets | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/telephony/telephonyjstest/actscontactstageapitest/entry/src/main/ets/test/contactstage.test.ets b/telephony/telephonyjstest/actscontactstageapitest/entry/src/main/ets/test/contactstage.test.ets index cb1fa94ac..2ffef4484 100644 --- a/telephony/telephonyjstest/actscontactstageapitest/entry/src/main/ets/test/contactstage.test.ets +++ b/telephony/telephonyjstest/actscontactstageapitest/entry/src/main/ets/test/contactstage.test.ets @@ -1520,28 +1520,28 @@ export default function ContactInterfaceStageTest() { }); /** - * @tc.number SUB_Telephony_ContactsApi_updateContact_test_0300 + * @tc.number SUB_Telephony_ContactsApi_updateContact_test_0400 * @tc.name contactsApi_query_updateContact error * @tc.desc Function test */ - it("SUB_Telephony_ContactsApi_updateContact_test_0300", 0, async function (done) { + it("SUB_Telephony_ContactsApi_updateContact_test_0400", 0, async function (done) { contact.addContact(globalThis.context, contactData, (err, data) => { if (err) { - console.info("SUB_Telephony_ContactsApi_updateContact_test_0300 err = " + JSON.stringify(err)); + console.info("SUB_Telephony_ContactsApi_updateContact_test_0400 err = " + JSON.stringify(err)); expect(false).assertTrue(); done(); return; } - console.info("SUB_Telephony_ContactsApi_updateContact_test_0300 data = " + JSON.stringify(data)); + console.info("SUB_Telephony_ContactsApi_updateContact_test_0400 data = " + JSON.stringify(data)); expect(data > 0).assertTrue(); contact.isLocalContact(globalThis.context, data, (err, data) => { if (err) { - console.info("SUB_Telephony_ContactsApi_updateContact_test_0300 err = " + JSON.stringify(err)); + console.info("SUB_Telephony_ContactsApi_updateContact_test_0400 err = " + JSON.stringify(err)); expect(false).assertTrue(); done(); return; } - console.info("SUB_Telephony_ContactsApi_updateContact_test_0300 data = " + JSON.stringify(data)); + console.info("SUB_Telephony_ContactsApi_updateContact_test_0400 data = " + JSON.stringify(data)); done(); }); }); -- GitLab