commit 2dd71007d3ed8d6e99f183ea3f891459b4911f07 parent 567770cef0c43e8f3d101122b91acd24c7a35f79 Author: Marc Stibane <marc@taler.net> Date: Thu, 31 Aug 2023 20:53:56 +0200 IntegrationTest on test Diffstat:
| M | TalerWallet1/Views/Settings/SettingsView.swift | | | 8 | ++++++++ |
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/TalerWallet1/Views/Settings/SettingsView.swift b/TalerWallet1/Views/Settings/SettingsView.swift @@ -160,6 +160,14 @@ struct SettingsView: View { description: String(localized: "Perform basic test transactions")) { Button("Test 1") { checkDisabled = true // don't run twice + Task { + symLog.log("running integration test on test") + do { + try await model.runIntegrationTestM(newVersion: false, test: true) + } catch { // TODO: show error + symLog.log(error.localizedDescription) + } + } } .buttonStyle(.bordered) .disabled(checkDisabled)