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

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 0e4f4923440c3ef34306595ab70447879bdab4e5
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Tue Jan 11 15:26:30 2022 +0100

    CAMEL-17286: camel-core - RemoveProperty EIP propertyName should be renamed 
to name
---
 .../test/groovy/org/apache/camel/dsl/yaml/RemovePropertyTest.groovy | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/RemovePropertyTest.groovy
 
b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/RemovePropertyTest.groovy
index e6e078d..6f4b2db 100644
--- 
a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/RemovePropertyTest.groovy
+++ 
b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/RemovePropertyTest.groovy
@@ -28,7 +28,7 @@ class RemovePropertyTest extends YamlTestSupport {
             context.routesLoader.loadRoutes(resource)
         then:
             with(context.routeDefinitions[0].outputs[0], 
RemovePropertyDefinition) {
-                propertyName == 'test'
+                name == 'test'
             }
         where:
             resource << [
@@ -37,7 +37,7 @@ class RemovePropertyTest extends YamlTestSupport {
                         uri: "direct:start"
                         steps:    
                           - remove-property:
-                              property-name: test
+                              name: test
                           - to: "mock:result"
                     '''),
                 asResource('expression-block', '''
@@ -45,7 +45,7 @@ class RemovePropertyTest extends YamlTestSupport {
                         uri: "direct:start"
                         steps:    
                           - remove-property:
-                              property-name: test
+                              name: test
                           - to: "mock:result"
                     ''')
             ]

Reply via email to