Skip to content

Commit 5e550ec

Browse files
committed
Don't check number of keys
1 parent 39a57c0 commit 5e550ec

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/test/java/com/meilisearch/integration/KeysTest.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package com.meilisearch.integration;
22

33
import static org.hamcrest.MatcherAssert.assertThat;
4-
import static org.hamcrest.Matchers.arrayWithSize;
54
import static org.hamcrest.Matchers.equalTo;
65
import static org.hamcrest.Matchers.instanceOf;
76
import static org.hamcrest.Matchers.is;
@@ -45,8 +44,6 @@ public void testClientGetKeys() throws Exception {
4544
Results<Key> result = client.getKeys();
4645
Key[] keys = result.getResults();
4746

48-
assertThat(keys, is(arrayWithSize(4)));
49-
5047
for (Key key : keys) {
5148
assertThat(key.getKey(), is(notNullValue()));
5249
assertThat(key.getUid(), is(notNullValue()));
@@ -65,8 +62,6 @@ public void testClientGetKeysWithJacksonJsonHandler() throws Exception {
6562
Results<Key> result = clientJackson.getKeys();
6663
Key[] keys = result.getResults();
6764

68-
assertThat(keys, is(arrayWithSize(4)));
69-
7065
for (Key key : keys) {
7166
assertThat(key.getKey(), is(notNullValue()));
7267
assertThat(key.getActions(), is(notNullValue()));

0 commit comments

Comments
 (0)