[bisq-network/bisq] Refactor apitest for api calls to any daemon type (#4525)

Stan notifications at github.com
Wed Sep 16 15:02:11 UTC 2020


@ghubstan commented on this pull request.



> +    public static void setUp() {
+        try {
+            setUpScaffold("bitcoind,seednode,arbdaemon");
+        } catch (Exception ex) {
+            fail(ex);
+        }
+    }
+
+    @Test
+    @Order(1)
+    public void testRegisterArbitratorShouldThrowException() {
+        var req =
+                createRegisterDisputeAgentRequest("arbitrator");
+        Throwable exception = assertThrows(StatusRuntimeException.class, () ->
+                grpcStubs(arbdaemon).disputeAgentsService.registerDisputeAgent(req));
+        assertEquals("INVALID_ARGUMENT: arbitrators must be registered in a Bisq UI",

I will fix this in another PR.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/4525#discussion_r489508040
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20200916/923f4afc/attachment.html>


More information about the bisq-github mailing list