Minor cleanup
This commit is contained in:
parent
e61a9bddeb
commit
a000f0d72d
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
[](https://opensource.org/licenses/BSD-3-Clause)
|
[](https://opensource.org/licenses/BSD-3-Clause)
|
||||||
[](https://kotlinlang.org/)
|
[](https://kotlinlang.org/)
|
||||||
[](https://oss.sonatype.org/content/repositories/snapshots/net/thauvin/erik/jokeapi/)
|
[](https://oss.sonatype.org/content/repositories/snapshots/net/thauvin/erik/jokeapi/)
|
||||||
[](https://github.com/ethauvin/jokeapi/releases/latest)
|
[](https://github.com/ethauvin/jokeapi/releases/latest)
|
||||||
[](https://maven-badges.herokuapp.com/maven-central/net.thauvin.erik/jokeapi)
|
[](https://maven-badges.herokuapp.com/maven-central/net.thauvin.erik/jokeapi)
|
||||||
|
|
|
@ -55,6 +55,6 @@ internal class JokeUtilTest {
|
||||||
fun `Validate Authentication Header`() {
|
fun `Validate Authentication Header`() {
|
||||||
val token = "AUTH-TOKEN"
|
val token = "AUTH-TOKEN"
|
||||||
val body = fetchUrl("https://postman-echo.com/get", token)
|
val body = fetchUrl("https://postman-echo.com/get", token)
|
||||||
assertThat(body, "body").contains("\"authentication\":\"$token\"")
|
assertThat(body, "body").contains("\"authentication\": \"$token\"")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue