You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by jd...@apache.org on 2026/07/06 23:00:59 UTC
(grails-core) branch 8.0.x updated: Grails 8 - httpClient api changes
This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a commit to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git
The following commit(s) were added to refs/heads/8.0.x by this push:
new 2266429dd1 Grails 8 - httpClient api changes
2266429dd1 is described below
commit 2266429dd1851947ba81135d5fc9cfd5924332a5
Author: James Daugherty <jd...@jdresources.net>
AuthorDate: Mon Jul 6 16:40:40 2026 -0400
Grails 8 - httpClient api changes
---
.../integration-test/groovy/gorm/DirtyCheckBindingSpec.groovy | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/grails-test-examples/gorm/src/integration-test/groovy/gorm/DirtyCheckBindingSpec.groovy b/grails-test-examples/gorm/src/integration-test/groovy/gorm/DirtyCheckBindingSpec.groovy
index a6b7665c50..44579095c4 100644
--- a/grails-test-examples/gorm/src/integration-test/groovy/gorm/DirtyCheckBindingSpec.groovy
+++ b/grails-test-examples/gorm/src/integration-test/groovy/gorm/DirtyCheckBindingSpec.groovy
@@ -80,7 +80,14 @@ class DirtyCheckBindingSpec extends Specification implements HttpClientSupport {
@Issue('https://github.com/apache/grails-core/issues/15795')
void 'an explicit bindable:true id constraint declared on a @DirtyCheck base is inherited and binds over HTTP'() {
when: 'a form submission posts id, version and a regular property to a domain whose base opts id into binding'
- def response = httpPost('/dirtyCheckBinding/bindInheritedBindableId', 'id=99&version=5&description=Opening+balance', FORM)
+ def response = httpPostForm(
+ '/dirtyCheckBinding/bindInheritedBindableId',
+ [
+ id: 99,
+ version: 5,
+ description: 'Opening balance'
+ ]
+ )
then: 'the request succeeds'
response.assertStatus(200)