Skip to content

Commit

Permalink
TargetDirectory is now TestDirectory.
Browse files Browse the repository at this point in the history
  • Loading branch information
srbaker committed Dec 19, 2016
1 parent 4ff3187 commit 0bfee8b
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -29,15 +29,15 @@
import java.nio.file.attribute.PosixFilePermission;

import org.neo4j.bolt.security.ssl.Certificates;
import org.neo4j.test.TargetDirectory;
import org.neo4j.test.rule.TestDirectory;

import static org.junit.Assert.*;
import static org.junit.Assume.assumeTrue;

public class SelfSignedCertificatesIT
{
@Rule
public TargetDirectory.TestDirectory testDirectory = TargetDirectory.testDirForTest( getClass() );
public TestDirectory testDirectory = TestDirectory.testDirectory( getClass() );

@Test
public void createSelfSignedCertificateWithCorrectPermissions() throws Exception
Expand Down Expand Up @@ -81,4 +81,4 @@ public void createSelfSignedCertificateWithCorrectPermissions() throws Exception
assertFalse( privateKey.permissions().contains( PosixFilePermission.OTHERS_WRITE ) );
assertFalse( privateKey.permissions().contains( PosixFilePermission.OTHERS_EXECUTE ) );
}
}
}

0 comments on commit 0bfee8b

Please sign in to comment.