Skip to content

Commit 4bb4582

Browse files
author
Zhen Li
committed
Merge pull request #68 from neo4j/zhenlineo-patch-1
Remove auth from examples with auth disabled
2 parents 24266c8 + 38068e2 commit 4bb4582

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Neo4j.Driver/Neo4j.Driver.IntegrationTests/Examples.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -315,10 +315,10 @@ public void TlsSigned()
315315
}
316316

317317
[Fact(Skip = "Requires server certificate to be installed on host system.")]
318-
public void ConnectWithBasicAuth()
318+
public void ConnectWithAuthDisabled()
319319
{
320320
//tag::connect-with-auth-disabled[]
321-
var driver = GraphDatabase.Driver("bolt://localhost:7687", AuthTokens.Basic("neo4j", "neo4j"),
321+
var driver = GraphDatabase.Driver("bolt://localhost:7687",
322322
Config.Builder.WithEncryptionLevel(EncryptionLevel.Encrypted).ToConfig());
323323
//end::connect-with-auth-disabled[]
324324
driver.Dispose();
@@ -347,4 +347,4 @@ public static T As<T>(this object value)
347347
return V1.ValueExtensions.As<T>(value);
348348
}
349349
}
350-
}
350+
}

0 commit comments

Comments
 (0)