Skip to content

Commit

Permalink
SHIBUI-522: filter controller refactoring WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
dima767 committed Jun 13, 2018
1 parent c6723e4 commit b2c0631
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ class MetadataFiltersControllerTests extends Specification {

then:
def expectedJson = new JsonSlurper().parseText(postedJsonBody)
def hashcode = updatedFilter.hashCode()
updatedFilter.fromTransientRepresentation()
expectedJson << [version: updatedFilter.hashCode()]
result.andExpect(status().isOk())
.andExpect(content().json(JsonOutput.toJson(expectedJson), true))
Expand Down

0 comments on commit b2c0631

Please sign in to comment.