Add service_version and add running hook message

This commit is contained in:
Donal McBreen
2023-05-23 10:46:17 +01:00
parent 258887a451
commit 3b695ae127
7 changed files with 26 additions and 16 deletions

View File

@@ -21,7 +21,8 @@ class CommandsHookTest < ActiveSupport::TestCase
{ env: {
"MRSK_RECORDED_AT" => @recorded_at,
"MRSK_PERFORMER" => @performer,
"MRSK_VERSION" => "123" } }
"MRSK_VERSION" => "123",
"MRSK_SERVICE_VERSION" => "app@123" } }
], new_command.run("foo")
end
@@ -31,7 +32,8 @@ class CommandsHookTest < ActiveSupport::TestCase
{ env: {
"MRSK_RECORDED_AT" => @recorded_at,
"MRSK_PERFORMER" => @performer,
"MRSK_VERSION" => "123" } }
"MRSK_VERSION" => "123",
"MRSK_SERVICE_VERSION" => "app@123" } }
], new_command(hooks_path: "custom/hooks/path").run("foo")
end