Skip to content

Commit

Permalink
Also had to checking the ManualIntegrationTests, as it wouldn't compi…
Browse files Browse the repository at this point in the history
…le...
  • Loading branch information
Lakritzator committed Feb 12, 2016
1 parent 63a469e commit f6f66e9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dapplo.ActiveDirectoryTests/ManualIntegrationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ public class ManualIntegrationTests
private static readonly LogSource Log = new LogSource();

[TestMethod]
public void TestActiveDirectoryCall_Computer()
public void TestActiveDirectoryQuery_Computer()
{
var query = Query.ComputerFilter(Environment.MachineName);
var query = Query.ForComputer(Environment.MachineName);
var computerResult = query.Execute<Computer>(Environment.UserDomainName).ToList();
Assert.IsTrue(computerResult.Any());

Expand All @@ -59,9 +59,9 @@ public void TestActiveDirectoryCall_Computer()
}

[TestMethod]
public void TestActiveDirectoryCall_User()
public void TestActiveDirectoryQuery_User()
{
var query = Query.CreateAnd().IsActiveUser().Any(UserProperties.IpTelephoneNumber).Any(UserProperties.TelephoneNumber);
var query = Query.ForUser().WhereAccountEnabled().WhereAny(UserProperties.IpTelephoneNumber).WhereAny(UserProperties.TelephoneNumber);
var userResult = query.Execute<User>(Environment.UserDomainName).ToList();
Assert.IsTrue(userResult.Any());

Expand Down

0 comments on commit f6f66e9

Please sign in to comment.