Skip to content

Commit 4da5b48

Browse files
committed
Fix for failing windows test
Test was relying on certificates being loaded one-at-a-time which is not true on windows. Since the test only asserts we get the input to the undelying channel correct we simple send a list of identical certifactes instead.
1 parent aa19f19 commit 4da5b48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/internal/tls.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ describe('trust-signed-certificates', function() {
7979
driver = neo4j.driver("bolt://localhost", neo4j.auth.basic("neo4j", "neo4j"), {
8080
encrypted: true,
8181
trust: "TRUST_SIGNED_CERTIFICATES",
82-
trustedCertificates: ["build/neo4j/certificates/neo4j.cert", "test/resources/random.certificate"]
82+
trustedCertificates: ["build/neo4j/certificates/neo4j.cert", "build/neo4j/certificates/neo4j.cert"]
8383
});
8484

8585
// When

0 commit comments

Comments
 (0)