fix wrong refactoring...
This commit is contained in:
parent
9e8ebd46e8
commit
7a78374398
|
@ -67,7 +67,7 @@ class BuilderActionsTests {
|
|||
}).gexecute()
|
||||
|
||||
assertThat indexR.response.index, equalTo("test")
|
||||
assertThat indexR.response.lang, equalTo("type1")
|
||||
assertThat indexR.response.type, equalTo("type1")
|
||||
assertThat indexR.response.id, equalTo("1")
|
||||
|
||||
node.client.admin.indices.refresh {}.actionGet()
|
||||
|
@ -86,7 +86,7 @@ class BuilderActionsTests {
|
|||
|
||||
def delete = node.client.prepareDelete("test", "type1", "1").gexecute()
|
||||
assertThat delete.response.index, equalTo("test")
|
||||
assertThat delete.response.lang, equalTo("type1")
|
||||
assertThat delete.response.type, equalTo("type1")
|
||||
assertThat delete.response.id, equalTo("1")
|
||||
|
||||
def refresh = node.client.admin.indices.refresh {}
|
||||
|
|
|
@ -80,7 +80,7 @@ class DifferentApiExecutionTests {
|
|||
|
||||
def getR = node.client.get {
|
||||
index "test"
|
||||
lang "type1"
|
||||
type "type1"
|
||||
id "1"
|
||||
}
|
||||
assertThat getR.response.exists, equalTo(true)
|
||||
|
@ -133,7 +133,7 @@ class DifferentApiExecutionTests {
|
|||
|
||||
indexR = node.client.index {
|
||||
index "test"
|
||||
lang "type1"
|
||||
type "type1"
|
||||
id "1"
|
||||
source {
|
||||
test = "value"
|
||||
|
|
|
@ -64,7 +64,7 @@ class SimpleActionsTests {
|
|||
|
||||
def indexR = node.client.index {
|
||||
index "test"
|
||||
lang "type1"
|
||||
type "type1"
|
||||
id "1"
|
||||
source {
|
||||
test = "value"
|
||||
|
@ -80,7 +80,7 @@ class SimpleActionsTests {
|
|||
|
||||
def delete = node.client.delete {
|
||||
index "test"
|
||||
lang "type1"
|
||||
type "type1"
|
||||
id "1"
|
||||
}
|
||||
assertThat delete.response.index, equalTo("test")
|
||||
|
@ -92,14 +92,14 @@ class SimpleActionsTests {
|
|||
|
||||
def get = node.client.get {
|
||||
index "test"
|
||||
lang "type1"
|
||||
type "type1"
|
||||
id "1"
|
||||
}
|
||||
assertThat get.response.exists, equalTo(false)
|
||||
|
||||
indexR = node.client.index {
|
||||
index "test"
|
||||
lang "type1"
|
||||
type "type1"
|
||||
id "1"
|
||||
source {
|
||||
test = "value"
|
||||
|
@ -154,7 +154,7 @@ class SimpleActionsTests {
|
|||
|
||||
get = node.client.get {
|
||||
index "test"
|
||||
lang "type1"
|
||||
type "type1"
|
||||
id "1"
|
||||
}
|
||||
assertThat get.response.exists, equalTo(false)
|
||||
|
|
Loading…
Reference in New Issue