test : Person Query 테스트 추가
This commit is contained in:
@@ -36,6 +36,7 @@ class PersonQueryTest(
|
|||||||
.exchange()
|
.exchange()
|
||||||
.expectBody().json("""{"data":{"getPerson":{"name":"colt"}}}""")
|
.expectBody().json("""{"data":{"getPerson":{"name":"colt"}}}""")
|
||||||
.consumeWith {
|
.consumeWith {
|
||||||
|
// assertThat(something...)
|
||||||
println(it.responseHeaders)
|
println(it.responseHeaders)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -65,6 +66,7 @@ class PersonQueryTest(
|
|||||||
.exchange()
|
.exchange()
|
||||||
.expectBody().json("""{"data":{"findPerson":{"name":"banjjoknim"}}}""")
|
.expectBody().json("""{"data":{"findPerson":{"name":"banjjoknim"}}}""")
|
||||||
.consumeWith {
|
.consumeWith {
|
||||||
|
// assertThat(something...)
|
||||||
println(it.responseHeaders)
|
println(it.responseHeaders)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -89,6 +91,7 @@ class PersonQueryTest(
|
|||||||
.exchange()
|
.exchange()
|
||||||
.expectBody().json("""{"data":{"findPerson":null}}""")
|
.expectBody().json("""{"data":{"findPerson":null}}""")
|
||||||
.consumeWith {
|
.consumeWith {
|
||||||
|
// assertThat(something...)
|
||||||
println(it.responseHeaders)
|
println(it.responseHeaders)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user