Skip to content

Commit 4b74d49

Browse files
author
Bastian Wilhelm
committed
#34 fix test case
1 parent a2d378f commit 4b74d49

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/testInt/groovy/com/github/hauner/openapi/generatr/GeneratrTestBase.groovy

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,7 @@ abstract class GeneratrTestBase {
5757
options.typeMappings = mapping
5858
}
5959
def beanValidation = new File ("./src/testInt/resources/${source}/beanvalidation")
60-
if(beanValidation.exists ()){
61-
options.beanValidation = beanValidation
62-
}
60+
options.beanValidation = beanValidation.exists ()
6361

6462
when:
6563
generatr.run (options)

0 commit comments

Comments
 (0)