Polish "Avoid applying Kotlin JPA plugin"

Closes gh-853
This commit is contained in:
Stephane Nicoll
2019-03-04 11:37:03 +01:00
parent 3ea0066fa8
commit 727475cec9

View File

@@ -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) {