Skip to content

Commit 8ff4949

Browse files
committed
[API] Test Runner: Use strict_encode for base 64 variables
1 parent 2c879ce commit 8ff4949

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api-spec-testing/test_file/task_group.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ def transform_and_set_variable(action)
304304
fields.include?(key)
305305
end.values if fields
306306

307-
to_set = Base64.encode64(values_to_encode.join(':'))
307+
to_set = Base64.strict_encode64(values_to_encode.join(':'))
308308
@test.cache_value(response_key, to_set)
309309
end
310310
end

0 commit comments

Comments
 (0)