Skip to content

Commit 8b649df

Browse files
committed
Link relevant issues
1 parent 00f689a commit 8b649df

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/BeforeUpdatePropertyPersistenceSpec.groovy

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ class BeforeUpdatePropertyPersistenceSpec extends GrailsDataTckSpec<GrailsDataMo
3434
void setupSpec() {
3535
manager.domainClasses.addAll([UserWithBeforeUpdate, UserWithBeforeUpdateAndAutoTimestamp])
3636
}
37-
37+
38+
@Issue('GRAILS-15139')
3839
void "Test that properties set in beforeUpdate are persisted"() {
3940
given: "A user is created"
4041
def user = new UserWithBeforeUpdate(name: "Fred")
@@ -115,7 +116,7 @@ class BeforeUpdatePropertyPersistenceSpec extends GrailsDataTckSpec<GrailsDataMo
115116
user.random.length() == 5
116117
}
117118

118-
@Issue('GPMONGODB-XXX')
119+
@Issue('GRAILS-15120')
119120
void "Test that properties set in beforeUpdate with AutoTimestamp are persisted"() {
120121
given: "A user with auto timestamp is created"
121122
def user = new UserWithBeforeUpdateAndAutoTimestamp(name: "Fred")

0 commit comments

Comments
 (0)