Skip to content

Commit

Permalink
Changed header name from scriptFormat to language (#514)
Browse files Browse the repository at this point in the history
* changed from scriptFormat to language

* Adjusted failing test
  • Loading branch information
jonathanlukas authored Nov 3, 2023
1 parent d724ba1 commit 21b3a7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ zeebe-header.result-variable=resultVariable
## Resource
zeebe-header.resource=resource
## Script format
zeebe-header.script-format=scriptFormat
zeebe-header.script-format=language
# Zeebe Meta Information
zeebe-platform.version=8.3
# Flags
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ void testInternalScript_8_1() {
.asList()
.hasSize(4);
assertThat(result.getResult("FeelScriptTask").getMessages().get(0).getMessage())
.isEqualTo("Script format 'feel' was set to header 'scriptFormat'. Please review.");
.isEqualTo("Script format 'feel' was set to header 'language'. Please review.");
assertThat(result.getResult("FeelScriptTask").getMessages().get(1).getMessage())
.isEqualTo(
"Element 'scriptTask' was transformed. Currently, script tasks are implemented like service tasks with job type 'script'. Please review your implementation.");
Expand Down

0 comments on commit 21b3a7c

Please sign in to comment.