Skip to content

Commit

Permalink
fix integration test fail on deprecation msg
Browse files Browse the repository at this point in the history
  • Loading branch information
mjurbanski-reef committed Nov 23, 2023
1 parent ae9138d commit 7459fe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/test_b2_command_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -2742,7 +2742,7 @@ def assert_expected(file_info, expected=expected_file_info):
assert_expected(copied_version['fileInfo'])

download_output = b2_tool.should_succeed(
['download-file-by-id', file_version['fileId'], tmp_path / 'downloaded_file']
['download-file', f"b2id://{file_version['fileId']}", tmp_path / 'downloaded_file']
)
assert re.search(r'CacheControl: *max-age=3600', download_output)
assert re.search(r'ContentDisposition: *attachment', download_output)
Expand Down

0 comments on commit 7459fe6

Please sign in to comment.