We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f19447 commit 5ddbd96Copy full SHA for 5ddbd96
src/Weaviate.Client.Tests/Integration/TestAuth.cs
@@ -76,11 +76,9 @@ public async Task TestNoAuthProvided()
76
{
77
Assert.True(await IsAuthEnabled($"localhost:{OKTA_PORT_CC}"));
78
79
- var client = Connect.Local(hostname: "localhost", restPort: OKTA_PORT_CC);
80
-
81
- await Assert.ThrowsAnyAsync<WeaviateServerException>(async () =>
+ var client = await Assert.ThrowsAnyAsync<WeaviateServerException>(async () =>
82
83
- await client.Collections.List().ToListAsync(TestContext.Current.CancellationToken);
+ Connect.Local(hostname: "localhost", restPort: OKTA_PORT_CC);
84
});
85
}
86
0 commit comments