Skip to content

Commit 7873346

Browse files
Deprecated APIs: replace containsKeyValue with equalKeyValue in test
1 parent d836df0 commit 7873346

File tree

1 file changed

+1
-1
lines changed
  • tests/objectbox-java-test/src/test/java/io/objectbox/query

1 file changed

+1
-1
lines changed

tests/objectbox-java-test/src/test/java/io/objectbox/query/QueryTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ private void assertThrowsQueryIsClosed(ThrowingRunnable runnable) {
162162
public void useAfterStoreClose_failsIfUsingStore() {
163163
Query<TestEntity> query = box.query(
164164
simpleString.equal("")
165-
.and(stringObjectMap.containsKeyValue("", ""))
165+
.and(stringObjectMap.equalKeyValue("", "", StringOrder.CASE_SENSITIVE))
166166
.and(simpleInt.equal(0))
167167
.and(simpleInt.oneOf(new int[]{0}).alias("oneOf4"))
168168
.and(simpleLong.oneOf(new long[]{0}).alias("oneOf8"))

0 commit comments

Comments
 (0)