diff --git a/libs/rest/rest-server-impl/src/integrationTest/kotlin/net/corda/rest/server/impl/RestServerRequestsTest.kt b/libs/rest/rest-server-impl/src/integrationTest/kotlin/net/corda/rest/server/impl/RestServerRequestsTest.kt index 0ea5533fa57..c7009ed14a9 100644 --- a/libs/rest/rest-server-impl/src/integrationTest/kotlin/net/corda/rest/server/impl/RestServerRequestsTest.kt +++ b/libs/rest/rest-server-impl/src/integrationTest/kotlin/net/corda/rest/server/impl/RestServerRequestsTest.kt @@ -271,7 +271,7 @@ class RestServerRequestsTest : RestServerTestBase() { assertEquals("3", helloResponse.body) // Check that the response returned a deprecation warning in the header - assertThat(helloResponse.headers.toMap()["Warning"]!!.contains("299")) + assertThat(helloResponse.headers.toMap()["warning"]!!.contains("299")) // Check that security managed has not been called for GetProtocolVersion which is exempt from permissions check assertThat(securityManager.checksExecuted).hasSize(0)