Replace usage of LuceneTestCase#getBaseTempDirForTestClass (#20484)

LuceneTestCase#getBaseTempDirForTestClass is deprecated, we should not use it.

Closes #15845
This commit is contained in:
Luca Cavanna 2016-09-14 19:35:20 +02:00 committed by GitHub
parent e7e27d9ffa
commit 14e17f44a1
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ public class PathUtilsForTesting {
/** Sets a new default filesystem for testing */
public static void setup() {
installMock(LuceneTestCase.getBaseTempDirForTestClass().getFileSystem());
installMock(LuceneTestCase.createTempDir().getFileSystem());
}
/** Installs a mock filesystem for testing */