Ensure that the correct user token is being used for static object URLs
In the refactored blob viewer we use the external_storage_url
field on the frontend for determining the the Open raw
and Download
hrefs.
However when running the when static objects external storage is enabled
spec in spec/features/projects/blobs/blob_show_spec.rb
with the refactor_blob_viewer
feature flag enabled, it fails because the token that is being used does not match what is being tested (user.static_object_token
) causing the test to fail.
Edited by Jacques Erasmus