Merge pull request #2144 from mposolda/master
KEYCLOAK-330 Fix failing test with DB2
This commit is contained in:
commit
dab7f617d4
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ public class AdminEventStoreProviderTest {
|
|||
Assert.assertEquals(1, eventStore.createAdminQuery().authUser("userId").operation(OperationType.ACTION).getResultList().size());
|
||||
|
||||
Assert.assertEquals(2, eventStore.createAdminQuery().maxResults(2).getResultList().size());
|
||||
Assert.assertEquals(1, eventStore.createAdminQuery().firstResult(5).getResultList().size());
|
||||
Assert.assertEquals(1, eventStore.createAdminQuery().firstResult(5).maxResults(5).getResultList().size());
|
||||
|
||||
Assert.assertEquals(newest, eventStore.createAdminQuery().maxResults(1).getResultList().get(0).getTime());
|
||||
Assert.assertEquals(oldest, eventStore.createAdminQuery().firstResult(5).maxResults(1).getResultList().get(0).getTime());
|
||||
|
|
Loading…
Reference in a new issue