mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Update test to match new setup/teardown pattern
This commit is contained in:
parent
ac4f4082c8
commit
ffcb382f0c
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue