diff options
author | Micaël Bergeron <mbergeron@gitlab.com> | 2018-02-22 10:46:13 -0500 |
---|---|---|
committer | Micaël Bergeron <mbergeron@gitlab.com> | 2018-03-01 10:36:56 -0500 |
commit | 5cf1cc6a0fe1a60cf51bc44535df8cc17d10b3a0 (patch) | |
tree | affb51535b5184d4bc04ccd70dedfc89ee83904f /spec/support | |
parent | 50c08d0eda6a1863e025b09c20dc2e4a38754ff4 (diff) | |
download | gitlab-ce-5cf1cc6a0fe1a60cf51bc44535df8cc17d10b3a0.tar.gz |
remove the license check
Diffstat (limited to 'spec/support')
-rw-r--r-- | spec/support/stub_object_storage.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/support/stub_object_storage.rb b/spec/support/stub_object_storage.rb index 93477e513f2..69c59fb0015 100644 --- a/spec/support/stub_object_storage.rb +++ b/spec/support/stub_object_storage.rb @@ -1,12 +1,10 @@ module StubConfiguration - def stub_object_storage_uploader(config:, uploader:, remote_directory:, enabled: true, licensed: true, background_upload: false) + def stub_object_storage_uploader(config:, uploader:, remote_directory:, enabled: true, background_upload: false) Fog.mock! allow(config).to receive(:enabled) { enabled } allow(config).to receive(:background_upload) { background_upload } - stub_licensed_features(object_storage: licensed) unless licensed == :skip - return unless enabled ::Fog::Storage.new(uploader.object_store_credentials).tap do |connection| |