Skip to content

Commit

Permalink
Correct email tests for ReadUser and ReadComputer Properties
Browse files Browse the repository at this point in the history
  • Loading branch information
definitelynotagoblin committed Jan 16, 2024
1 parent 7b9a391 commit e5f03e7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/unit/LDAPPropertyTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ public async Task LDAPPropertyProcessor_ReadUserProperties_HappyPath()
{"lastlogon", "132673011142753043"},
{"lastlogontimestamp", "132670318095676525"},
{"homedirectory", @"\\win10\testdir"},
{"email", "[email protected]"},
{"mail", "[email protected]"},
{
"serviceprincipalname", new[]
{
Expand Down Expand Up @@ -400,7 +400,7 @@ public async Task LDAPPropertyProcessor_ReadComputerProperties_HappyPath()
{"lastlogontimestamp", "132670318095676525"},
{"operatingsystem", "Windows 10 Enterprise"},
{"operatingsystemservicepack", "1607"},
{"email", "[email protected]"},
{"mail", "[email protected]"},
{"admincount", "c"},
{
"sidhistory", new[]
Expand Down Expand Up @@ -445,7 +445,7 @@ public async Task LDAPPropertyProcessor_ReadComputerProperties_HappyPath()
Assert.Contains("pwdlastset", keys);
Assert.True((bool)props["enabled"]);
Assert.False((bool)props["unconstraineddelegation"]);
Assert.False((bool)props["trustedtoauth"]);
Assert.True((bool)props["trustedtoauth"]);
Assert.False((bool)props["isdc"]);

Assert.Contains("lastlogon", keys);
Expand Down

0 comments on commit e5f03e7

Please sign in to comment.