mirror of https://github.com/ARMmbed/mbed-os.git
Greentea test case WIFI-CONNECT-NOCREDENTIALS- accept also parameter error if AP is not found
parent
c993057537
commit
5585ba60a5
|
@ -28,5 +28,5 @@ void wifi_connect_nocredentials(void)
|
|||
WiFiInterface *wifi = get_interface();
|
||||
nsapi_error_t error;
|
||||
error = wifi->connect();
|
||||
TEST_ASSERT(error == NSAPI_ERROR_NO_SSID);
|
||||
TEST_ASSERT(error == NSAPI_ERROR_NO_SSID || error == NSAPI_ERROR_PARAMETER);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue