aboutsummaryrefslogtreecommitdiff
path: root/internal/test
diff options
context:
space:
mode:
Diffstat (limited to 'internal/test')
-rw-r--r--internal/test/helpers.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/internal/test/helpers.go b/internal/test/helpers.go
new file mode 100644
index 0000000..91fcbdc
--- /dev/null
+++ b/internal/test/helpers.go
@@ -0,0 +1,14 @@
+package testhelper
+
+import (
+ "golang.org/x/oauth2"
+)
+
+func NewConf(url string) *oauth2.Config {
+ return &oauth2.Config{
+ ClientID: "CLIENT_ID",
+ ClientSecret: "CLIENT_SECRET",
+ RedirectURL: "REDIRECT_URL",
+ Scopes: []string{"scope1", "scope2"},
+ }
+}