From 84876c709c8ffd9021f52c73b47b2f9b8a71f0d4 Mon Sep 17 00:00:00 2001 From: Sergei Lissianoi <54454955+selissia@users.noreply.github.com> Date: Fri, 20 Aug 2021 14:08:25 -0400 Subject: [PATCH] Add a call SetAdditionalCommissioning() instead of SetCommisioningMode() (#9169) --- src/lib/mdns/platform/tests/TestPlatform.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/lib/mdns/platform/tests/TestPlatform.cpp b/src/lib/mdns/platform/tests/TestPlatform.cpp index 9b94bfbf9987ce..d0324bdc7c970a 100644 --- a/src/lib/mdns/platform/tests/TestPlatform.cpp +++ b/src/lib/mdns/platform/tests/TestPlatform.cpp @@ -70,7 +70,8 @@ CommissionAdvertisingParameters commissionableNodeParamsSmall = .SetMac(ByteSpan(kMac)) .SetLongDiscriminator(0xFFE) .SetShortDiscriminator(0xF) - .SetCommissioningMode(false, false); + .SetCommissioningMode(false) + .SetAdditionalCommissioning(false); // Instance names need to be obtained from the advertiser, so they are not set here. test::ExpectedCall commissionableSmall = test::ExpectedCall() .SetProtocol(MdnsServiceProtocol::kMdnsProtocolUdp) @@ -89,7 +90,8 @@ CommissionAdvertisingParameters commissionableNodeParamsLarge = .SetShortDiscriminator(2) .SetVendorId(chip::Optional(555)) .SetDeviceType(chip::Optional(25)) - .SetCommissioningMode(true, true) + .SetCommissioningMode(true) + .SetAdditionalCommissioning(false) .SetDeviceName(chip::Optional("testy-test")) .SetPairingHint(chip::Optional(3)) .SetPairingInstr(chip::Optional("Pair me"))