mirror of
https://gitee.com/dcren/initializr.git
synced 2025-07-15 14:04:30 +08:00
Fix integration tests
This commit is contained in:
parent
7dbeaa9d8a
commit
ba3c82b064
@ -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')
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user