Skip to content

Commit

Permalink
https://github.com/javers/javers/issues/1287
Browse files Browse the repository at this point in the history
style fixes
  • Loading branch information
bartoszwalacik committed Jul 10, 2023
1 parent 9a9337b commit 8543654
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,17 @@ class Case1287ValueObjectWithIgnoredProperties extends Specification {
class MyValueObject {

@Id
private UUID id;
private UUID id

private String property;
private String property
}

def "should recognize class as a value object type"() {
def "should recognize class as a value object type when @DiffIgnoreProperties is used"() {
given:
Javers javers = JaversBuilder.javers().build()

expect:
javers.getTypeMapping( MyValueObject ) instanceof ValueObjectType
javers.getTypeMapping( MyValueObject ).properties.collect {it.name} == ['property']
}
}

0 comments on commit 8543654

Please sign in to comment.