Skip to content

Commit 5585ba6

Browse files
author
Veijo Pesonen
committed
Greentea test case WIFI-CONNECT-NOCREDENTIALS- accept also parameter error if AP is not found
1 parent c993057 commit 5585ba6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TESTS/network/wifi/wifi_connect_nocredentials.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ void wifi_connect_nocredentials(void)
2828
WiFiInterface *wifi = get_interface();
2929
nsapi_error_t error;
3030
error = wifi->connect();
31-
TEST_ASSERT(error == NSAPI_ERROR_NO_SSID);
31+
TEST_ASSERT(error == NSAPI_ERROR_NO_SSID || error == NSAPI_ERROR_PARAMETER);
3232
}

0 commit comments

Comments
 (0)