mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-09 01:12:35 +00:00
Renamed class.
This commit is contained in:
parent
d8a8493a82
commit
0dd12e5323
4 changed files with 4 additions and 4 deletions
services/git-bridge/src/test
java/uk/ac/ic/wlgitbridge
resources/uk/ac/ic/wlgitbridge/WLGitBridgeIntegrationTest
|
@ -27,7 +27,7 @@ import static org.junit.Assert.assertTrue;
|
|||
/**
|
||||
* Created by Winston on 11/01/15.
|
||||
*/
|
||||
public class WLGitBridgeIT {
|
||||
public class WLGitBridgeIntegrationTest {
|
||||
|
||||
private MockSnapshotServer server;
|
||||
private Map<String, Map<String, SnapshotAPIState>> states =
|
||||
|
@ -42,7 +42,7 @@ public class WLGitBridgeIT {
|
|||
|
||||
@Before
|
||||
public void startMockSnapshotAPIServer() throws URISyntaxException {
|
||||
server = new MockSnapshotServer(Paths.get(getClass().getResource("/uk/ac/ic/wlgitbridge/WLGitBridgeIT/").toURI()).toFile());
|
||||
server = new MockSnapshotServer(Paths.get(getClass().getResource("/uk/ac/ic/wlgitbridge/WLGitBridgeIntegrationTest/").toURI()).toFile());
|
||||
server.start();
|
||||
}
|
||||
|
||||
|
@ -83,14 +83,14 @@ public class WLGitBridgeIT {
|
|||
|
||||
private Path getResource(String path) {
|
||||
try {
|
||||
return Paths.get(getClass().getResource("/uk/ac/ic/wlgitbridge/WLGitBridgeIT" + path).toURI());
|
||||
return Paths.get(getClass().getResource("/uk/ac/ic/wlgitbridge/WLGitBridgeIntegrationTest" + path).toURI());
|
||||
} catch (URISyntaxException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
|
||||
private InputStream getResourceAsStream(String path) {
|
||||
return getClass().getResourceAsStream("/uk/ac/ic/wlgitbridge/WLGitBridgeIT" + path);
|
||||
return getClass().getResourceAsStream("/uk/ac/ic/wlgitbridge/WLGitBridgeIntegrationTest" + path);
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Reference in a new issue