camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject [camel-k] branch runtime-0.3.0 updated: fix(test): Fixed tests after bumping to 0.3.0 the runtime
Date Sun, 03 Mar 2019 11:16:56 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/runtime-0.3.0 by this push:
     new 0352344  fix(test): Fixed tests after bumping to 0.3.0 the runtime
0352344 is described below

commit 0352344fc74b25bd30202ac00d54673d20ce6ce4
Author: Andrea Cosentino <ancosen@gmail.com>
AuthorDate: Sun Mar 3 12:16:23 2019 +0100

    fix(test): Fixed tests after bumping to 0.3.0 the runtime
---
 pkg/builder/builder_steps_test.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pkg/builder/builder_steps_test.go b/pkg/builder/builder_steps_test.go
index bfad198..8260fb9 100644
--- a/pkg/builder/builder_steps_test.go
+++ b/pkg/builder/builder_steps_test.go
@@ -60,7 +60,7 @@ func TestGenerateJvmProject(t *testing.T) {
 	assert.Equal(t, "pom", ctx.Project.DependencyManagement.Dependencies[0].Type)
 	assert.Equal(t, "import", ctx.Project.DependencyManagement.Dependencies[0].Scope)
 
-	assert.Equal(t, 2, len(ctx.Project.Dependencies))
+	assert.Equal(t, 3, len(ctx.Project.Dependencies))
 	assert.Contains(t, ctx.Project.Dependencies, maven.Dependency{
 		GroupID:    "org.apache.camel.k",
 		ArtifactID: "camel-k-runtime-jvm",
@@ -105,7 +105,7 @@ func TestGenerateGroovyProject(t *testing.T) {
 	assert.Equal(t, "pom", ctx.Project.DependencyManagement.Dependencies[0].Type)
 	assert.Equal(t, "import", ctx.Project.DependencyManagement.Dependencies[0].Scope)
 
-	assert.Equal(t, 4, len(ctx.Project.Dependencies))
+	assert.Equal(t, 5, len(ctx.Project.Dependencies))
 
 	assert.Contains(t, ctx.Project.Dependencies, maven.Dependency{
 		GroupID:    "org.apache.camel.k",


Mime
View raw message