Skip to content

Commit

Permalink
chore: fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rvazarkar committed Oct 8, 2024
1 parent d76735c commit 5ad2431
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/unit/ACLProcessorTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1043,13 +1043,12 @@ public async Task ACLProcessor_ProcessACL_LAPS_Computer() {
mockLDAPUtils.Setup(x => x.MakeSecurityDescriptor()).Returns(mockSecurityDescriptor.Object);
mockLDAPUtils.Setup(x => x.ResolveIDAndType(It.IsAny<string>(), It.IsAny<string>()))
.ReturnsAsync((true, new TypedPrincipal(expectedPrincipalSID, expectedPrincipalType)));


//Return a directory object from pagedquery for the schemaid to simulate LAPS
var searchResults = new[]
{
//These first 4 should be filtered by our DN filters
LdapResult<IDirectoryObject>.Ok(new MockDirectoryObject(
"CN=7868d4c8-ac41-4e05-b401-776280e8e9f1,CN=Operations,CN=DomainUpdates,CN=System,DC=testlab,DC=local"
"abc123"
, new Dictionary<string, object>()
{
{LDAPProperties.SchemaIDGUID, lapsGuid.ToByteArray()},
Expand Down

0 comments on commit 5ad2431

Please sign in to comment.