(cherry picked from commit 697ac937c6)
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
This commit is contained in:
1 parent
d6a13c45d2
commit
5619aa7a5b
3 files changed
+9
-2
No files matched your search
@@ -296,6 +296,12 @@ func TestDataSource_GetHttpTransport(t *testing.T) {
|
||||
})
|
||||
clearDSProxyCache(t)
|
||||
|
||||
origSigV4Enabled := setting.SigV4AuthEnabled
|
||||
setting.SigV4AuthEnabled = true
|
||||
t.Cleanup(func() {
|
||||
setting.SigV4AuthEnabled = origSigV4Enabled
|
||||
})
|
||||
|
||||
json, err := simplejson.NewJson([]byte(`{ "sigV4Auth": true }`))
|
||||
require.NoError(t, err)
|
||||
|
||||
|
||||
Reference in new issue
Block a user