summaryrefslogtreecommitdiff
path: root/internal/oauth/oauth_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/oauth/oauth_test.go')
-rw-r--r--internal/oauth/oauth_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/oauth/oauth_test.go b/internal/oauth/oauth_test.go
index f786df396..404ea5c20 100644
--- a/internal/oauth/oauth_test.go
+++ b/internal/oauth/oauth_test.go
@@ -48,7 +48,7 @@ func (suite *OauthTestSuite) SetupSuite() {
suite.testClient = &oauthClient{
ID: "a-known-client-id",
Secret: "some-secret",
- Domain: "localhost",
+ Domain: "http://localhost:8080",
UserID: userID,
}
}
@@ -107,14 +107,14 @@ func (suite *OauthTestSuite) TearDownTest() {
func (suite *OauthTestSuite) TestAPIInitialize() {
log := logrus.New()
- log.SetLevel(logrus.DebugLevel)
+ log.SetLevel(logrus.TraceLevel)
r := api.New(suite.config, log)
api := New(suite.tokenStore, suite.clientStore, suite.conn, log)
api.AddRoutes(r)
go r.Start()
time.Sleep(30 * time.Second)
- // http://localhost:8080/oauth/authorize?client_id=a-known-client-id&redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=code
+ // http://localhost:8080/oauth/authorize?client_id=a-known-client-id&redirect_uri=''&response_type=code
}
func TestOauthTestSuite(t *testing.T) {