From e5f03e7e653c3907dbaadf1ca1b4f57e19fa420a Mon Sep 17 00:00:00 2001 From: anemeth Date: Tue, 16 Jan 2024 10:56:59 -0800 Subject: [PATCH] Correct email tests for ReadUser and ReadComputer Properties --- test/unit/LDAPPropertyTests.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/unit/LDAPPropertyTests.cs b/test/unit/LDAPPropertyTests.cs index 86a979a9..5da83d68 100644 --- a/test/unit/LDAPPropertyTests.cs +++ b/test/unit/LDAPPropertyTests.cs @@ -264,7 +264,7 @@ public async Task LDAPPropertyProcessor_ReadUserProperties_HappyPath() {"lastlogon", "132673011142753043"}, {"lastlogontimestamp", "132670318095676525"}, {"homedirectory", @"\\win10\testdir"}, - {"email", "test@testdomain.com"}, + {"mail", "test@testdomain.com"}, { "serviceprincipalname", new[] { @@ -400,7 +400,7 @@ public async Task LDAPPropertyProcessor_ReadComputerProperties_HappyPath() {"lastlogontimestamp", "132670318095676525"}, {"operatingsystem", "Windows 10 Enterprise"}, {"operatingsystemservicepack", "1607"}, - {"email", "test@testdomain.com"}, + {"mail", "test@testdomain.com"}, {"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);