Skip to content

Commit b2b67ee

Browse files
authored
fix: fix failing tests because of wrong temp location (#1060)
1 parent 0480bfd commit b2b67ee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/java/io/supertokens/test/DotStartedFileTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ public void processFailToStartDotStartedFileTest() throws Exception {
188188

189189
@Test
190190
public void dotStartedFileAtTempDirLocation() throws Exception {
191-
String tempDirLocation = new File("../temp/").getAbsolutePath();
191+
String tempDirLocation = new File("../tempDir/").getAbsolutePath();
192192
String[] args = {"../", "tempDirLocation=" + tempDirLocation};
193193

194194
String host = "localhost";

src/test/java/io/supertokens/test/WebserverTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -967,7 +967,7 @@ public void validBasePath() throws InterruptedException, IOException, HttpRespon
967967

968968
@Test
969969
public void tempDirLocationWebserverStarts() throws InterruptedException, HttpResponseException, IOException {
970-
String tempDirLocation = new File("../temp/").getCanonicalPath();
970+
String tempDirLocation = new File("../tempDir/").getCanonicalPath();
971971
String[] args = {"../", "tempDirLocation=" + tempDirLocation};
972972
TestingProcess process = TestingProcessManager.start(args);
973973
assertNotNull(process.checkOrWaitForEvent(PROCESS_STATE.STARTED));

0 commit comments

Comments
 (0)