Replace usage of LuceneTestCase#getBaseTempDirForTestClass (#20484)
LuceneTestCase#getBaseTempDirForTestClass is deprecated, we should not use it. Closes #15845
This commit is contained in:
parent
e7e27d9ffa
commit
14e17f44a1
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue