Skip to content

Commit f48d599

Browse files
committed
Delete unused
1 parent 4bdbed2 commit f48d599

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

module/ldbc-connector/native/src/test/scala/ldbc/connector/TLSConnectionTest.scala

+1-2
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@ class TLSConnectionTest extends FTestPlatform:
1919
assertIO(
2020
(for
2121
cert <- Resource.eval(Files[IO].readAll(Path("database/ssl/ca.pem")).compile.to(ByteVector))
22-
key <- Resource.eval(Files[IO].readAll(Path("database/ssl/ca-key.pem")).compile.to(ByteVector))
2322
cfg <- S2nConfig.builder
24-
.withCertChainAndKeysToStore(List(CertChainAndKey(cert, key)))
23+
.withCertChainAndKeysToStore(List(CertChainAndKey(cert, ByteVector.empty)))
2524
.withPemsToTrustStore(List(cert.decodeAscii.toOption.get))
2625
.build[IO]
2726
connection <- ConnectionProvider

0 commit comments

Comments
 (0)