Skip to content

Commit

Permalink
Netty backend
Browse files Browse the repository at this point in the history
  • Loading branch information
larousso committed Oct 22, 2024
1 parent 6ea217d commit f9dda69
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion nio-server/conf/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ play.application.loader = loader.NioLoader
// add filter NioFilter
play.modules.enabled += "play.modules.reactivemongo.ReactiveMongoModule"

play.server.provider = "play.core.server.NettyServerProvider"
play.server.provider = play.core.server.NettyServerProvider

play {
filters {
Expand Down
2 changes: 1 addition & 1 deletion nio-server/test/controllers/HomeControllerSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class HomeControllerSpec extends TestUtils {
callJson(s"/$tenant/bo", GET, api = false)

response.status must be(OK)
response.contentType must be("text/html; charset=UTF-8")
response.contentType.toLowerCase must be("text/html; charset=utf-8")
}

}
Expand Down
2 changes: 1 addition & 1 deletion nio-server/test/controllers/TenantControllerSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class TenantControllerSpec extends TestUtils {
postXml(path, tenantXml, headers = Seq(CONTENT_TYPE -> XML, secret))

resp.status mustBe CREATED
resp.contentType mustBe s"$XML; charset=UTF-8"
resp.contentType.toLowerCase mustBe s"$XML; charset=utf-8"
}

"create with content-type json" in {
Expand Down

0 comments on commit f9dda69

Please sign in to comment.