You've already forked oauth2-proxy
mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2025-11-29 22:48:19 +02:00
Fix Linting Errors (#1835)
* initial commit: add groups to azure Signed-off-by: andrewphamade@gmail.com <andrewphamade@gmail.com> * fix deprecations and linting errors Signed-off-by: Andrew Hamade <andrewphamade@gmail.com> * remove groups testing from azure provider Signed-off-by: Andrew Hamade <andrewphamade@gmail.com> * fix test error Signed-off-by: Andrew Hamade <andrewphamade@gmail.com> * verify-generate Signed-off-by: Andrew Hamade <andrewphamade@gmail.com> Signed-off-by: andrewphamade@gmail.com <andrewphamade@gmail.com> Signed-off-by: Andrew Hamade <andrewphamade@gmail.com>
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package providers
|
||||
|
||||
import (
|
||||
"io/ioutil"
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
@@ -43,7 +42,7 @@ func TestClientSecretFileOptionFails(t *testing.T) {
|
||||
func TestClientSecretFileOption(t *testing.T) {
|
||||
g := NewWithT(t)
|
||||
|
||||
f, err := ioutil.TempFile("", "client_secret_temp_file_")
|
||||
f, err := os.CreateTemp("", "client_secret_temp_file_")
|
||||
g.Expect(err).ToNot(HaveOccurred())
|
||||
|
||||
clientSecretFileName := f.Name()
|
||||
|
||||
Reference in New Issue
Block a user