mirror of
https://gitee.com/dcren/initializr.git
synced 2025-12-17 17:41:31 +08:00
Polish "Avoid applying Kotlin JPA plugin"
Closes gh-853
This commit is contained in:
@@ -50,7 +50,8 @@ class KotlinJpaGradleBuildCustomizerTests {
|
|||||||
void customizeWhenJpaFacetAbsentShouldNotAddKotlinJpaPlugin() {
|
void customizeWhenJpaFacetAbsentShouldNotAddKotlinJpaPlugin() {
|
||||||
Dependency dependency = Dependency.withId("foo");
|
Dependency dependency = Dependency.withId("foo");
|
||||||
GradleBuild build = getCustomizedBuild(dependency);
|
GradleBuild build = getCustomizedBuild(dependency);
|
||||||
assertThat(build.getPlugins()).hasSize(0);
|
assertThat(build.getAppliedPlugins()).isEmpty();
|
||||||
|
assertThat(build.getPlugins()).isEmpty();
|
||||||
}
|
}
|
||||||
|
|
||||||
private GradleBuild getCustomizedBuild(Dependency dependency) {
|
private GradleBuild getCustomizedBuild(Dependency dependency) {
|
||||||
|
|||||||
Reference in New Issue
Block a user