-
Notifications
You must be signed in to change notification settings - Fork 556
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify test to check for deep equality in JSON
We were previously checking if two JSON as strings were equal but the order of the JSON fields is not guaranteed. Pulling this change out of the Play 2.9 upgrade to simplify the PR: #26783. While on Play 2.8 the test is still passing but in Play 2.9 starts failing. The order of the fields in the string is not guardanteed though, so we're now checking the actual JSON.
- Loading branch information
Showing
1 changed file
with
43 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters