-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correct email tests for ReadUser and ReadComputer Properties
- Loading branch information
1 parent
7b9a391
commit e5f03e7
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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[] | ||
{ | ||
|
@@ -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[] | ||
|
@@ -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); | ||
|