Skip to content

Commit 4e269ce

Browse files
committed
Adjust @PendingFeatureIf conditions on FirstAndLastMethodSpec
1 parent fb9db1f commit 4e269ce

File tree

1 file changed

+3
-24
lines changed

1 file changed

+3
-24
lines changed

grails-datastore-gorm-tck/src/main/groovy/grails/gorm/tck/FirstAndLastMethodSpec.groovy

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,6 @@ class FirstAndLastMethodSpec extends GormDatastoreSpec {
4242
result?.name == 'three'
4343
}
4444

45-
@PendingFeatureIf(
46-
value = {
47-
!System.getProperty('hibernate5.gorm.suite') &&
48-
!System.getProperty('mongodb.gorm.suite')
49-
},
50-
reason = 'Was previously @Ignore'
51-
)
5245
void "Test first and last method with one entity"() {
5346
given:
5447
assert new SimpleWidget(name: 'one', spanishName: 'uno').save()
@@ -67,13 +60,6 @@ class FirstAndLastMethodSpec extends GormDatastoreSpec {
6760
result?.name == 'one'
6861
}
6962

70-
@PendingFeatureIf(
71-
value = { (
72-
!System.getProperty('hibernate5.gorm.suite') &&
73-
!System.getProperty('mongodb.gorm.suite')
74-
)},
75-
reason = 'Was previously @Ignore'
76-
)
7763
void "Test first and last method with sort parameter"() {
7864
given:
7965
assert new SimpleWidget(name: 'one', spanishName: 'uno').save()
@@ -130,13 +116,6 @@ class FirstAndLastMethodSpec extends GormDatastoreSpec {
130116
result?.spanishName == 'uno'
131117
}
132118

133-
@PendingFeatureIf(
134-
value = { (
135-
!System.getProperty('hibernate5.gorm.suite') &&
136-
!System.getProperty('mongodb.gorm.suite')
137-
)},
138-
reason = 'Was previously @Ignore'
139-
)
140119
void "Test first and last method with non standard identifier"() {
141120
given:
142121
['one', 'two', 'three'].each { name ->
@@ -158,9 +137,9 @@ class FirstAndLastMethodSpec extends GormDatastoreSpec {
158137
}
159138

160139
@PendingFeatureIf(
161-
value = { (
162-
!System.getProperty('mongodb.gorm.suite')
163-
)},
140+
value = {
141+
System.getProperty('hibernate5.gorm.suite')
142+
},
164143
reason = 'Was previously @Ignore'
165144
)
166145
void "Test first and last method with composite key"() {

0 commit comments

Comments
 (0)