Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
uglide committed Jan 17, 2025
1 parent 7e024c9 commit 586f04e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/NRedisStack.Tests/AbstractNRedisStackTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ protected void SkipIfTargetConnectionDoesNotExist(string id)
{
Skip.IfNot(EndpointsFixture.IsTargetConnectionExist(id), $"The connection with id '{id}' is not configured.");
}

private List<string> keyNames = new List<string>();

protected internal string CreateKeyName([CallerMemberName] string memberName = "") => CreateKeyNames(1, memberName)[0];
Expand Down
3 changes: 0 additions & 3 deletions tests/NRedisStack.Tests/Search/SearchTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1954,7 +1954,6 @@ public async Task TestFiltersAsync(string endpointId)
}

[Fact]
[MemberData(nameof(EndpointsFixture.Env.StandaloneOnly), MemberType = typeof(EndpointsFixture.Env))]
public void TestQueryCommandBuilder()
{
var testQuery = new Query("foo").HighlightFields(new Query.HighlightTags("<b>", "</b>"), "txt")
Expand Down Expand Up @@ -2052,7 +2051,6 @@ public void TestQueryCommandBuilder()
}

[Fact]
[MemberData(nameof(EndpointsFixture.Env.StandaloneOnly), MemberType = typeof(EndpointsFixture.Env))]
public void TestQueryCommandBuilderReturnField()
{
var testQuery = new Query("foo").HighlightFields("txt")
Expand Down Expand Up @@ -2088,7 +2086,6 @@ public void TestQueryCommandBuilderReturnField()
}

[Fact]
[MemberData(nameof(EndpointsFixture.Env.StandaloneOnly), MemberType = typeof(EndpointsFixture.Env))]
public void TestQueryCommandBuilderScore()
{
// TODO: write better test for scores and payloads
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public void TestTokenBasedAuthentication()
{
// This is needed because we're constructing ConfigurationOptions in the test before calling GetConnection
SkipIfTargetConnectionDoesNotExist(EndpointsFixture.Env.StandaloneEntraId);

var configurationOptions = new ConfigurationOptions().ConfigureForAzureWithTokenCredentialAsync(new DefaultAzureCredential()).Result!;
configurationOptions.Ssl = false;
configurationOptions.AbortOnConnectFail = true; // Fail fast for the purposes of this sample. In production code, this should remain false to retry connections on startup
Expand Down

0 comments on commit 586f04e

Please sign in to comment.