Closed ghost closed 10 years ago
When running ./grailsw test-app against the latest code, one of the tests fail. Output below:
./grailsw test-app
| Failure: can add a valid owner(org.grails.samples.OwnerControllerSpec) | Condition not satisfied: controller.response.redirectUrl =~ '/owner/show/\\d+' | | | | | | null java.util.regex.Matcher[pattern=/owner/show/\d+ region=0,4 lastmatch=] | org.codehaus.groovy.grails.plugins.testing.GrailsMockHttpServletResponse@5d8f1dcf org.grails.samples.OwnerController@4ba3895c at org.grails.samples.OwnerControllerSpec.can add a valid owner(OwnerControllerSpec.groovy:49)
added a pull request: https://github.com/grails-samples/grails-petclinic/pull/16, which solves this issue.
FYI: This is now fixed as of the newly merged pull request #17.
When running
./grailsw test-app
against the latest code, one of the tests fail. Output below: