Make test constants Java-visible fields. (#2258)

This commit is contained in:
Andrzej Cichocki
2017-12-14 16:30:18 +00:00
committed by GitHub
parent 409cefd467
commit 21e1118ea0
6 changed files with 33 additions and 24 deletions

View File

@ -26,8 +26,8 @@ public class FlowsInJavaTest {
@Before
public void setUp() throws Exception {
aliceNode = mockNet.createPartyNode(TestConstants.getALICE_NAME());
bobNode = mockNet.createPartyNode(TestConstants.getBOB_NAME());
aliceNode = mockNet.createPartyNode(TestConstants.ALICE_NAME);
bobNode = mockNet.createPartyNode(TestConstants.BOB_NAME);
bob = singleIdentity(bobNode.getInfo());
}