[bisq-network/bisq] Refactor apitest for api calls to any daemon type (#4525)
sqrrm
notifications at github.com
Wed Sep 16 15:03:58 UTC 2020
@sqrrm 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",
Yeah, I think this happens quite a bit in other tests as well iirc. Not urgent, but good to have a better solution for the future.
--
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_r489509405
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20200916/c607695a/attachment.html>
More information about the bisq-github
mailing list