From ac3c6e07f054e57190abd872c5ec6dd9c83e5895 Mon Sep 17 00:00:00 2001 From: ghubstan <36207203+ghubstan@users.noreply.github.com> Date: Tue, 25 Aug 2020 11:29:27 -0300 Subject: [PATCH] Fix setUpScaffold() signature Adds the missing String[] params to the method signature, so test cases can pass any needed combination of options to the scaffolding setup from a @BeforeAll method. --- apitest/src/test/java/bisq/apitest/ApiTestCase.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apitest/src/test/java/bisq/apitest/ApiTestCase.java b/apitest/src/test/java/bisq/apitest/ApiTestCase.java index 286e7f8c20..b962a2f3aa 100644 --- a/apitest/src/test/java/bisq/apitest/ApiTestCase.java +++ b/apitest/src/test/java/bisq/apitest/ApiTestCase.java @@ -73,9 +73,9 @@ public class ApiTestCase { grpcStubs = new GrpcStubs(alicedaemon, config).init(); } - public static void setUpScaffold() + public static void setUpScaffold(String[] params) throws InterruptedException, ExecutionException, IOException { - scaffold = new Scaffold(new String[]{}).setUp(); + scaffold = new Scaffold(params).setUp(); config = scaffold.config; grpcStubs = new GrpcStubs(alicedaemon, config).init(); }