[QT5] Support optional params using QVariant (#8733)

Use QVariant for optional parameters
This commit is contained in:
Sean Kelly
2021-03-02 22:45:04 -08:00
committed by GitHub
parent d31875f505
commit 89b9802be3
9 changed files with 800 additions and 606 deletions

View File

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