test/test_helper.rb in gitlab-fog-azure-rm-2.1.0 vs test/test_helper.rb in gitlab-fog-azure-rm-2.2.0

- old
+ new

@@ -1,5 +1,8 @@ +require 'webmock/minitest' +WebMock.disable_net_connect! allow: %w[127.0.0.1] + if ENV['COVERAGE'] require 'simplecov' SimpleCov.start do add_filter 'test' command_name 'Minitest' @@ -37,9 +40,15 @@ def storage_account_credentials { azure_storage_account_name: 'mockaccount', azure_storage_access_key: 'YWNjZXNzLWtleQ==' + } +end + +def storage_account_managed_identity + { + azure_storage_account_name: 'mockaccount' } end def storage_account_credentials_with_endpoint storage_account_credentials.merge(