Skip to content

Commit 9c1aca9

Browse files
committed
CORE-XXXX: update test
1 parent 4d0bdef commit 9c1aca9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/rest/rest-server-impl/src/integrationTest/kotlin/net/corda/rest/server/impl/RestServerRequestsTest.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ class RestServerRequestsTest : RestServerTestBase() {
271271
assertEquals("3", helloResponse.body)
272272

273273
// Check that the response returned a deprecation warning in the header
274-
assertThat(helloResponse.headers.toMap()["Warning"]!!.contains("299"))
274+
assertThat(helloResponse.headers.toMap()["warning"]!!.contains("299"))
275275

276276
// Check that security managed has not been called for GetProtocolVersion which is exempt from permissions check
277277
assertThat(securityManager.checksExecuted).hasSize(0)

0 commit comments

Comments
 (0)