Skip to content

Commit

Permalink
Remove algorithm check in test
Browse files Browse the repository at this point in the history
  • Loading branch information
mullermp committed Nov 2, 2024
1 parent 7d635e5 commit 391d47c
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -351,11 +351,7 @@ module Plugins

test_cases.each do |test_case|
it "passes test: #{test_case['documentation']}" do
algorithm = test_case['checksumAlgorithm'].upcase
unless ChecksumAlgorithm::CLIENT_ALGORITHMS.include?(algorithm)
skip "Algorithm #{algorithm} not supported"
end

algorithm = test_case['checksumAlgorithm']
resp = client.http_checksum_operation(
"checksum_#{algorithm.downcase}".to_sym => test_case['checksumValue'],
body: test_case['requestPayload']
Expand Down

0 comments on commit 391d47c

Please sign in to comment.