Skip to content

Commit 325ad13

Browse files
committed
add AttributeUsage to TargetEnvironment
1 parent 4022d40 commit 325ad13

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

tests/NRedisStack.Tests/TargetEnvironmentAttribute.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using Xunit;
22

33
namespace NRedisStack.Tests;
4+
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
45
public class TargetEnvironmentAttribute : SkipIfRedisAttribute
56
{
67
private string targetEnv;

tests/NRedisStack.Tests/TokenBasedAuthentication/AuthenticationTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ public class AuthenticationTests : AbstractNRedisStackTest
1616
public AuthenticationTests(RedisFixture redisFixture) : base(redisFixture) { }
1717

1818
[TargetEnvironment("standalone-entraid-acl")]
19-
2019
public void TestTokenBasedAuthentication()
2120
{
2221
Assert.True(new FaultInjectorClient().TriggerActionAsync("enable_entraid", new Dictionary<string, object>()).Wait(5000), "Entraid could not be enabled this time!!!");

0 commit comments

Comments
 (0)