Greentea test case WIFI-CONNECT-NOCREDENTIALS- accept also parameter error if AP is not found

pull/5743/head
Veijo Pesonen 2017-12-22 13:02:06 +02:00
parent c993057537
commit 5585ba60a5
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}