Fix #1054
This commit is contained in:
parent
6ce50ac6a9
commit
068ba488c5
1 changed files with 2 additions and 4 deletions
|
@ -71,6 +71,7 @@ public class SearchListTests extends CrudTestBase {
|
|||
final String keyProp = NAME_PREFIX + id;
|
||||
doc.put(KEY_PROPERTY, keyProp);
|
||||
doc.put("url", "http://example.com/" + id);
|
||||
doc.put("title", id);
|
||||
doc.put("boost", id);
|
||||
doc.put("role", "Rguest");
|
||||
|
||||
|
@ -89,9 +90,6 @@ public class SearchListTests extends CrudTestBase {
|
|||
|
||||
@Override
|
||||
protected Map<String, Object> getUpdateMap() {
|
||||
// TODO
|
||||
assertTrue(false);
|
||||
|
||||
final Map<String, Object> updateMap = new HashMap<>();
|
||||
updateMap.put("click_count", 100);
|
||||
return updateMap;
|
||||
|
@ -101,7 +99,7 @@ public class SearchListTests extends CrudTestBase {
|
|||
void crudTest() {
|
||||
testCreate();
|
||||
testRead();
|
||||
//testUpdate(); // TODO
|
||||
testUpdate();
|
||||
testDelete();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue