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"))