Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tests for Grails 7 #354

Merged
merged 4 commits into from
Sep 15, 2024
Merged

Fix tests for Grails 7 #354

merged 4 commits into from
Sep 15, 2024

Conversation

matrei
Copy link
Contributor

@matrei matrei commented Sep 15, 2024

No description provided.

Cglib has problems, bytebuddy works (and is the recommended choice from Spock).
Create a superclass that is not marked as a Gorm entity.
The tests that are dependent on working domain inheritance are marked as pending.
This test already had a duplicate for handling running on Java 17. Now that the project is baselined at Java 17 this also had to be conditioned.

The test can probably be removed, but it is kept for documentation purposes.
@@ -3,7 +3,13 @@ package grails.plugin.formfields.mock
import grails.persistence.Entity

@Entity
class Person {
class Person extends HomoSapiens {}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@matrei nice, I actually had thought about that last night and was wondering why we didn't do that.

@codeconsole codeconsole merged commit 99dfa69 into gpc:6.0.x Sep 15, 2024
@matrei matrei deleted the matrei/fix-tests branch September 15, 2024 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants