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() {
Dependency dependency = Dependency.withId("foo");
GradleBuild build = getCustomizedBuild(dependency);
assertThat(build.getPlugins()).hasSize(0);
assertThat(build.getAppliedPlugins()).isEmpty();
assertThat(build.getPlugins()).isEmpty();
}
private GradleBuild getCustomizedBuild(Dependency dependency) {