gofmt
Signed-off-by: justin-slowik <justin.slowik@thermofisher.com>
This commit is contained in:
parent
9882ea453f
commit
f91f294385
2 changed files with 3 additions and 3 deletions
|
@ -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 a new issue