You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/03/03 12:00:52 UTC

[camel-k] 01/01: test(builder): more assertions on deps

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch test-runtime
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit cfebfe573340f81ef356c6058e5f8b48e56586eb
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Sun Mar 3 12:59:23 2019 +0100

    test(builder): more assertions on deps
---
 pkg/builder/builder_steps_test.go | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/pkg/builder/builder_steps_test.go b/pkg/builder/builder_steps_test.go
index 8260fb9..19dcd65 100644
--- a/pkg/builder/builder_steps_test.go
+++ b/pkg/builder/builder_steps_test.go
@@ -71,6 +71,10 @@ func TestGenerateJvmProject(t *testing.T) {
 		GroupID:    "org.apache.camel",
 		ArtifactID: "camel-core",
 	})
+	assert.Contains(t, ctx.Project.Dependencies, maven.Dependency{
+		GroupID:    "org.apache.camel.k",
+		ArtifactID: "camel-k-adapter-camel-2",
+	})
 }
 
 func TestGenerateGroovyProject(t *testing.T) {
@@ -124,6 +128,10 @@ func TestGenerateGroovyProject(t *testing.T) {
 		ArtifactID: "camel-core",
 	})
 	assert.Contains(t, ctx.Project.Dependencies, maven.Dependency{
+		GroupID:    "org.apache.camel.k",
+		ArtifactID: "camel-k-adapter-camel-2",
+	})
+	assert.Contains(t, ctx.Project.Dependencies, maven.Dependency{
 		GroupID:    "org.apache.camel",
 		ArtifactID: "camel-groovy",
 	})