Skip to content

Commit

Permalink
fix spray json test
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddenton committed May 27, 2019
1 parent b0c46bd commit 61af199
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ The main API is stable, but expect some amount of breaking changes around major
- Add strict `Accept` header checking for `RouteSpec`s based on `producing()` settings. Option for non-strictness.
- Add integrated self-hosted Swagger UI/ReDoc UI module

## 15.0.0
- Upgrade to various dependencies, including Finagle to version `19.5.0`. This has resulted in
various API changes due to Finagle dropping the dependency on Netty v3 (now v4).

## 14.22.0
- Upgrade Finagle to version `18.8.0`. H/T @fuCtor

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ package io.fintrospect.formats
class SprayJsonResponseBuilderTest extends JsonResponseBuilderSpec(Spray)

class SprayJsonFormatTest extends JsonFormatSpec(Spray) {
override val expectedJson = """{"string":"hello","null":null,"bigInt":12344,"object":{"field1":"aString"},"decimal":1.2,"double":1.2,"array":["world",true],"long":2,"bool":true,"int":10}"""
override val expectedJson = """{"array":["world",true],"bigInt":12344,"bool":true,"decimal":1.2,"double":1.2,"int":10,"long":2,"null":null,"object":{"field1":"aString"},"string":"hello"}"""
}

0 comments on commit 61af199

Please sign in to comment.