Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
marcospereira committed Sep 24, 2018
1 parent c41d55d commit 0c796ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -473,7 +473,7 @@ class AhcWSSpec(implicit ee: ExecutionEnv) extends Specification with Mockito wi
}

def createCookie(name: String, value: String, wrap: Boolean, domain: String, path: String, maxAge: Long, secure: Boolean, httpOnly: Boolean): NettyCookie = {
val ahcCookie = new NettyDefaultCookie(ahcCookie, value)
val ahcCookie = new NettyDefaultCookie(name, value)
ahcCookie.setWrap(wrap)
ahcCookie.setDomain(domain)
ahcCookie.setPath(path)
Expand Down
Expand Up @@ -139,7 +139,7 @@ trait ScalaWSSpec extends PlaySpecification with ServerIntegrationSpecification
}
"expect title-case header with signed request" in withAuthorizationCheck { ws =>
val body = await(ws.url("/").sign(oauthCalc).execute()).body
body must_== ("Authorization")
body must beEqualTo("Authorization").ignoreCase
}
}

Expand Down

0 comments on commit 0c796ae

Please sign in to comment.