Skip to content

Commit c69c2d0

Browse files
author
graeme
committed
renamed class in test to avoid conflict with other test
git-svn-id: https://svn.codehaus.org/grails/trunk@5783 1cfb16fd-6d17-0410-8ff1-b7e8e1e2867d
1 parent 1c1587e commit c69c2d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/groovy/org/codehaus/groovy/grails/orm/hibernate/validation/UniqueConstraintTests.groovy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ class UniqueConstraintTests extends AbstractGrailsHibernateTests {
229229

230230
void testRelationships() {
231231
def userClass = ga.getDomainClass("User").clazz
232-
def linkClass = ga.getDomainClass("Link").clazz
232+
def linkClass = ga.getDomainClass("Link1").clazz
233233

234234
def user1 = userClass.newInstance()
235235
user1.code = "1"
@@ -286,15 +286,15 @@ class UniqueConstraintTests extends AbstractGrailsHibernateTests {
286286
String organization
287287
String code
288288
289-
static belongsTo = Link
289+
static belongsTo = Link1
290290
291291
static constraints = {
292292
login(unique:['grp','department'])
293293
department(unique:"organization")
294294
code(unique:true)
295295
}
296296
}
297-
class Link {
297+
class Link1 {
298298
Long id
299299
Long version
300300

0 commit comments

Comments
 (0)