Merge pull request #579 from jhchv

* gh-579:
  Fix typo in REST Assured HTTP headers example

Closes gh-579
This commit is contained in:
Andy Wilkinson
2019-02-14 10:09:09 +00:00

View File

@@ -43,7 +43,7 @@ public class HttpHeaders {
"Remaining requests permitted in current period"),
headerWithName("X-RateLimit-Reset").description(
"Time at which the rate limit period will reset"))))
.header("Authroization", "Basic dXNlcjpzZWNyZXQ=") // <4>
.header("Authorization", "Basic dXNlcjpzZWNyZXQ=") // <4>
.when().get("/people")
.then().assertThat().statusCode(is(200));
// end::headers[]