Fix integration tests

This commit is contained in:
Stephane Nicoll 2017-01-31 14:42:35 +01:00
parent 7dbeaa9d8a
commit ba3c82b064

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -234,9 +234,10 @@ class ProjectGenerationSmokeTests extends AbstractInitializrControllerIntegratio
def projectAssert = zipProjectAssert(from('demo.zip'))
projectAssert.hasBaseDir('demo').isMavenProject().isKotlinProject()
.hasStaticAndTemplatesResources(false)
.pomAssert().hasDependenciesCount(3)
.pomAssert().hasDependenciesCount(4)
.hasSpringBootStarterRootDependency().hasSpringBootStarterTest()
.hasDependency('org.jetbrains.kotlin', 'kotlin-stdlib')
.hasDependency('org.jetbrains.kotlin', 'kotlin-reflect')
}
}
@ -342,6 +343,7 @@ class ProjectGenerationSmokeTests extends AbstractInitializrControllerIntegratio
.hasSpringBootStarterDependency('data-jpa')
.hasSpringBootStarterTest()
.hasDependency('org.jetbrains.kotlin', 'kotlin-stdlib')
.hasDependency('org.jetbrains.kotlin', 'kotlin-reflect')
}
}