gofmt
Signed-off-by: justin-slowik <justin.slowik@thermofisher.com>
This commit is contained in:
parent
9882ea453f
commit
f91f294385
@ -581,7 +581,7 @@ func validateRedirectURI(client storage.Client, redirectURI string) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
if redirectURI == redirectURIOOB || redirectURI == deviceCallbackURI{
|
||||
if redirectURI == redirectURIOOB || redirectURI == deviceCallbackURI {
|
||||
return true
|
||||
}
|
||||
|
||||
|
@ -1316,9 +1316,9 @@ func TestOAuth2DeviceFlow(t *testing.T) {
|
||||
|
||||
//Add the Clients to the test server
|
||||
client := storage.Client{
|
||||
ID: clientID,
|
||||
ID: clientID,
|
||||
RedirectURIs: []string{deviceCallbackURI},
|
||||
Public: true,
|
||||
Public: true,
|
||||
}
|
||||
if err := s.storage.CreateClient(client); err != nil {
|
||||
t.Fatalf("failed to create client: %v", err)
|
||||
|
Reference in New Issue
Block a user