From 1a8f97afab6722214cf635ce4b86766698f7c291 Mon Sep 17 00:00:00 2001 From: ghubstan <36207203+ghubstan@users.noreply.github.com> Date: Wed, 7 Oct 2020 11:19:05 -0300 Subject: [PATCH] Fix register dipute agent test assert This should have been included in commit 5f9b1e6, PR 4595. --- .../java/bisq/apitest/method/RegisterDisputeAgentsTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apitest/src/test/java/bisq/apitest/method/RegisterDisputeAgentsTest.java b/apitest/src/test/java/bisq/apitest/method/RegisterDisputeAgentsTest.java index f11f3e7ef13..9c875012080 100644 --- a/apitest/src/test/java/bisq/apitest/method/RegisterDisputeAgentsTest.java +++ b/apitest/src/test/java/bisq/apitest/method/RegisterDisputeAgentsTest.java @@ -71,7 +71,7 @@ public void testInvalidDisputeAgentTypeArgShouldThrowException() { createRegisterDisputeAgentRequest("badagent"); Throwable exception = assertThrows(StatusRuntimeException.class, () -> grpcStubs(arbdaemon).disputeAgentsService.registerDisputeAgent(req)); - assertEquals("INVALID_ARGUMENT: unknown dispute agent type badagent", + assertEquals("INVALID_ARGUMENT: unknown dispute agent type 'badagent'", exception.getMessage()); }