File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
commercetools/commercetools-sdk-java-api/src/test/java/com/commercetools Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 11
22package com .commercetools ;
33
4+ import com .commercetools .api .models .order .OrderSearchCustomType ;
45import com .commercetools .api .models .order .OrderSearchRequest ;
56import com .commercetools .api .models .order .OrderSearchRequestBuilder ;
67import com .commercetools .api .models .order .OrderSearchSortOrder ;
@@ -98,8 +99,9 @@ public static Object[][] searchBuilder() {
9899 }
99100 }""" },
100101 new Object [] { OrderSearchRequest .builder ()
101- .withQuery (q -> q .exact (
102- t -> t .field ("custom.myOrderField" ).value ("special order" ).customType ("StringType" ))),
102+ .withQuery (q -> q .exact (t -> t .field ("custom.myOrderField" )
103+ .value ("special order" )
104+ .customType (OrderSearchCustomType .STRING_TYPE ))),
103105 """
104106 {
105107 "query": {
You can’t perform that action at this time.
0 commit comments