Skip to content

Commit

Permalink
add AttributeUsage to TargetEnvironment
Browse files Browse the repository at this point in the history
  • Loading branch information
atakavci committed Oct 7, 2024
1 parent 4022d40 commit 325ad13
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions tests/NRedisStack.Tests/TargetEnvironmentAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using Xunit;

namespace NRedisStack.Tests;
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
public class TargetEnvironmentAttribute : SkipIfRedisAttribute
{
private string targetEnv;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ public class AuthenticationTests : AbstractNRedisStackTest
public AuthenticationTests(RedisFixture redisFixture) : base(redisFixture) { }

[TargetEnvironment("standalone-entraid-acl")]

public void TestTokenBasedAuthentication()
{
Assert.True(new FaultInjectorClient().TriggerActionAsync("enable_entraid", new Dictionary<string, object>()).Wait(5000), "Entraid could not be enabled this time!!!");
Expand Down

0 comments on commit 325ad13

Please sign in to comment.