forked from loafle/openapi-generator-original
[QT5] Support optional params using QVariant (#8733)
Use QVariant for optional parameters
This commit is contained in:
@@ -235,7 +235,7 @@ void PetApiTests::updatePetWithFormTest() {
|
||||
});
|
||||
|
||||
QString name("gorilla");
|
||||
api.updatePetWithForm(id, name, nullptr);
|
||||
api.updatePetWithForm(id, name);
|
||||
QTimer::singleShot(5000, &loop, &QEventLoop::quit);
|
||||
loop.exec();
|
||||
QVERIFY2(petUpdated, "didn't finish within timeout");
|
||||
|
||||
Reference in New Issue
Block a user