Update test to match new setup/teardown pattern

This commit is contained in:
Shane Kilkelly 2019-08-02 13:34:43 +01:00
parent ac4f4082c8
commit ffcb382f0c

View file

@ -870,10 +870,10 @@ public class WLGitBridgeIntegrationTest {
int gitBridgePort = 33886;
int mockServerPort = 3886;
MockSnapshotServer server = new MockSnapshotServer(mockServerPort, getResource("/canCloneARepository").toFile());
server = new MockSnapshotServer(mockServerPort, getResource("/canCloneARepository").toFile());
server.start();
server.setState(states.get("canCloneARepository").get("state"));
GitBridgeApp wlgb = new GitBridgeApp(new String[] {
wlgb = new GitBridgeApp(new String[] {
makeConfigFile(gitBridgePort, mockServerPort)
});