Skip to content

Commit

Permalink
Update ProprietaryHeadersRuleTest.kt
Browse files Browse the repository at this point in the history
Fixes #1404
  • Loading branch information
caliginouspierson committed Aug 2, 2022
1 parent 2e5b8f7 commit 4dc9132
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class ProprietaryHeadersRuleTest {

@Test
fun `validateResponseHeaders should return no violation for a specified proprietary header`() {
val violations = rule.validateResponseHeaders(withRequestHttpHeader("X-Flow-ID"))
val violations = rule.validateResponseHeaders(withResponseHttpHeader("X-Flow-ID"))

assertThat(violations).isEmpty()
}
Expand Down

0 comments on commit 4dc9132

Please sign in to comment.