Skip to content

Commit

Permalink
fix trigger api test due to changed string now all passes
Browse files Browse the repository at this point in the history
  • Loading branch information
lucamrgs committed Aug 8, 2024
1 parent 1281d18 commit 807839a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unittest/routes/trigger_api/tigger_api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ func TestExecutionOfPlaybookByIdWithPayloadInvalidVariables(t *testing.T) {
if err != nil {
t.Fatalf("Could not unmarshal response body: %v", err)
}
expected_message_not_external := "Cannot execute. reason: playbook variable [ __var2_not_external__ ] cannot be assigned in playbook because it is not marked as `external` in the plabook"
expected_message_not_external := "Cannot execute. reason: playbook variable [ __var2_not_external__ ] cannot be assigned in playbook because it is not marked as external in the plabook"
assert.Equal(t, 400, recorder_not_external.Code)
assert.Equal(t, expected_message_not_external, result_not_external["message"].(string))

Expand Down

0 comments on commit 807839a

Please sign in to comment.