diff --git a/tests/nexus/test_1_3_SRP_TC_11.cpp b/tests/nexus/test_1_3_SRP_TC_11.cpp index 960d5c600..3cb80b132 100644 --- a/tests/nexus/test_1_3_SRP_TC_11.cpp +++ b/tests/nexus/test_1_3_SRP_TC_11.cpp @@ -117,7 +117,7 @@ void Test_1_3_SRP_TC_11(const char *aJsonFileName) nexus.AdvanceTime(0); - Instance::SetLogLevel(kLogLevelNote); + SuccessOrQuit(Instance::SetGlobalLogLevel(kLogLevelNote)); Log("---------------------------------------------------------------------------------------"); diff --git a/tests/nexus/test_1_3_SRP_TC_12.cpp b/tests/nexus/test_1_3_SRP_TC_12.cpp index a62d5d349..27409c8f1 100644 --- a/tests/nexus/test_1_3_SRP_TC_12.cpp +++ b/tests/nexus/test_1_3_SRP_TC_12.cpp @@ -112,7 +112,7 @@ void Test_1_3_SRP_TC_12(const char *aJsonFileName) nexus.AdvanceTime(0); - Instance::SetLogLevel(kLogLevelNote); + SuccessOrQuit(Instance::SetGlobalLogLevel(kLogLevelNote)); Log("---------------------------------------------------------------------------------------");