From 9df9727069a248c1b93d02674f52ecd2dfd7b862 Mon Sep 17 00:00:00 2001 From: Nate Barbettini Date: Tue, 6 Sep 2016 19:17:27 -0700 Subject: [PATCH] Fix logic error --- test/Stormpath.SDK.Tests.Integration/Async/Account_tests.cs | 2 +- test/Stormpath.SDK.Tests.Integration/Sync/Account_tests.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Stormpath.SDK.Tests.Integration/Async/Account_tests.cs b/test/Stormpath.SDK.Tests.Integration/Async/Account_tests.cs index 45f24c13..6246352d 100644 --- a/test/Stormpath.SDK.Tests.Integration/Async/Account_tests.cs +++ b/test/Stormpath.SDK.Tests.Integration/Async/Account_tests.cs @@ -689,7 +689,7 @@ public async Task Searching_accounts_with_modified_passwords(TestClientProvider // Get all accounts that modified their passwords this year var accounts = await application.GetAccounts() - .Where(a => a.PasswordModifiedAt <= new DateTimeOffset(DateTimeOffset.Now.Year, 1, 1, 0, 0, 0, TimeSpan.Zero)) + .Where(a => a.PasswordModifiedAt > new DateTimeOffset(DateTimeOffset.Now.Year, 1, 1, 0, 0, 0, TimeSpan.Zero)) .ToListAsync(); accounts.ShouldContain(a => a.Email == "chewie@kashyyyk.rim"); diff --git a/test/Stormpath.SDK.Tests.Integration/Sync/Account_tests.cs b/test/Stormpath.SDK.Tests.Integration/Sync/Account_tests.cs index 6c46a50a..191a9975 100644 --- a/test/Stormpath.SDK.Tests.Integration/Sync/Account_tests.cs +++ b/test/Stormpath.SDK.Tests.Integration/Sync/Account_tests.cs @@ -713,7 +713,7 @@ public void Searching_accounts_with_modified_passwords(TestClientProvider client // Get all accounts that modified their passwords this year var accounts = application.GetAccounts() - .Where(a => a.PasswordModifiedAt <= new DateTimeOffset(DateTimeOffset.Now.Year, 1, 1, 0, 0, 0, TimeSpan.Zero)) + .Where(a => a.PasswordModifiedAt > new DateTimeOffset(DateTimeOffset.Now.Year, 1, 1, 0, 0, 0, TimeSpan.Zero)) .Synchronously() .ToList();