File tree Expand file tree Collapse file tree 2 files changed +0
-31
lines changed
src/test/kotlin/com/leeturner/callback_logger/callbacks Expand file tree Collapse file tree 2 files changed +0
-31
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import com.leeturner.callback_logger.TestFixtures.TEST_JSON_CALLBACK
44import com.leeturner.callback_logger.TestFixtures.TEST_JSON_PAYLOAD
55import com.leeturner.callback_logger.TestFixtures.TEST_XML_CALLBACK
66import com.leeturner.callback_logger.TestFixtures.TEST_XML_PAYLOAD
7- import io.micronaut.core.async.publisher.Publishers.then
87import io.micronaut.test.extensions.junit5.annotation.MicronautTest
98import io.restassured.http.ContentType
109import io.restassured.specification.RequestSpecification
@@ -104,8 +103,6 @@ class CallbackWebListViewMultipleCallbacksTest(private val callbackRepository: C
104103
105104 // XML callback should be at the top of the list
106105 expectThat(response.htmlPath()) {
107- get { getString(" html.body.'**'.find {it.@id == 'callback-1-timestamp'}.text()" ) } isEqualTo
108- " 1 May 2023, 13:32:06"
109106 get { getString(" html.body.'**'.find {it.@id == 'callback-1-httpMethod'}.text()" ) } isEqualTo
110107 " POST"
111108 get { getString(" html.body.'**'.find {it.@id == 'callback-1-httpVersion'}.text()" ) } isEqualTo
@@ -116,8 +113,6 @@ class CallbackWebListViewMultipleCallbacksTest(private val callbackRepository: C
116113
117114 // Json callback should be next in the list
118115 expectThat(response.htmlPath()) {
119- get { getString(" html.body.'**'.find {it.@id == 'callback-2-timestamp'}.text()" ) } isEqualTo
120- " 1 May 2023, 13:27:06"
121116 get { getString(" html.body.'**'.find {it.@id == 'callback-2-httpMethod'}.text()" ) } isEqualTo
122117 " POST"
123118 get { getString(" html.body.'**'.find {it.@id == 'callback-2-httpVersion'}.text()" ) } isEqualTo
You can’t perform that action at this time.
0 commit comments