Update test to match new setup/teardown pattern

This commit is contained in:
Shane Kilkelly 2019-08-01 16:34:49 +01:00
parent 3fac2cc825
commit abf525f43a

View file

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