Skip to content

Commit

Permalink
update what tests can be run in release mode (In DTL env)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yvand committed Feb 26, 2024
1 parent 7451051 commit 0adc3ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Yvand.LDAPCPSE.Tests/AugmentationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -180,14 +180,14 @@ public override void CheckSettingsTest()
base.CheckSettingsTest();
}

#if DEBUG
[TestCase("FakeAccount", false)]
[TestCase("[email protected]", true)]
public void TestAugmentationOperation(string claimValue, bool isMemberOfTrustedGroup)
{
base.TestAugmentationOperation(claimValue, isMemberOfTrustedGroup, UnitTestsHelper.ValidGroupSid);
}

#if DEBUG
[TestCase("[email protected]", true, @"S-1-5-21-2647467245-1611586658-188888215-110602")] // testLdapcpseGroup_2
public void TestAugmentationOperationGroupRecursive(string claimValue, bool isMemberOfTrustedGroup, string groupValue)
{
Expand Down
3 changes: 3 additions & 0 deletions Yvand.LDAPCPSE.Tests/PrimaryGroupIDTests.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
using NUnit.Framework;
using Yvand.LdapClaimsProvider.Configuration;

// No custom additional claim type available in the trust
#if DEBUG
namespace Yvand.LdapClaimsProvider.Tests
{
[TestFixture]
Expand Down Expand Up @@ -55,3 +57,4 @@ public void TestAugmentationOperation(string claimValue, bool isMemberOfTrustedG
}
}
}
#endif

0 comments on commit 0adc3ca

Please sign in to comment.