From 0613f3415b639c4dc6ba467027ff93dbbb12330e Mon Sep 17 00:00:00 2001 From: Shana Azria Date: Fri, 29 May 2020 20:01:36 +0200 Subject: [PATCH] remove fake error i had added --- src/setup_payload/tests/TestQRCodeTLV.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/setup_payload/tests/TestQRCodeTLV.cpp b/src/setup_payload/tests/TestQRCodeTLV.cpp index de16d05654bbe0..e54227792035ce 100644 --- a/src/setup_payload/tests/TestQRCodeTLV.cpp +++ b/src/setup_payload/tests/TestQRCodeTLV.cpp @@ -225,7 +225,7 @@ void TestOptionalDataWrite(nlTestSuite * inSuite, void * inContext) string result; uint8_t optionalInfo[kDefaultBufferSizeInBytes]; CHIP_ERROR err = generator.payloadBase41Representation(result, optionalInfo, sizeof(optionalInfo)); - NL_TEST_ASSERT(inSuite, err == CHIP_ERROR_INVALID_ARGUMENT); + NL_TEST_ASSERT(inSuite, err == CHIP_NO_ERROR); } void TestOptionalDataRead(nlTestSuite * inSuite, void * inContext)