We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ecb395 commit 9e966b5Copy full SHA for 9e966b5
driver/src/test/java/org/neo4j/driver/internal/ConfigTest.java
@@ -23,6 +23,7 @@
23
import java.io.File;
24
25
import org.neo4j.driver.v1.Config;
26
+import org.neo4j.driver.v1.util.FileTools;
27
28
import static java.lang.System.getProperty;
29
import static org.hamcrest.CoreMatchers.equalTo;
@@ -92,7 +93,7 @@ public static void deleteDefaultKnownCertFileIfExists()
92
93
{
94
if( DEFAULT_KNOWN_HOSTS.exists() )
95
- DEFAULT_KNOWN_HOSTS.delete();
96
+ FileTools.deleteFile( DEFAULT_KNOWN_HOSTS );
97
}
98
99
0 commit comments