From 999c9fcd4cf2628c8191cf33f0b61d1f018d66c4 Mon Sep 17 00:00:00 2001 From: Andrew Martinez Date: Mon, 26 Aug 2024 08:57:58 -0400 Subject: [PATCH] revert 299>300 in op_test.go --- pkg/op/op_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/op/op_test.go b/pkg/op/op_test.go index f7fa15f..b637e03 100644 --- a/pkg/op/op_test.go +++ b/pkg/op/op_test.go @@ -214,7 +214,7 @@ func TestRoutes(t *testing.T) { wantCode: http.StatusOK, contains: []string{ `{"access_token":"`, - `","issued_token_type":"urn:ietf:params:oauth:token-type:refresh_token","token_type":"Bearer","expires_in":300,"scope":"openid offline_access","refresh_token":"`, + `","issued_token_type":"urn:ietf:params:oauth:token-type:refresh_token","token_type":"Bearer","expires_in":299,"scope":"openid offline_access","refresh_token":"`, }, }, { @@ -227,7 +227,7 @@ func TestRoutes(t *testing.T) { "scope": oidc.SpaceDelimitedArray{oidc.ScopeOpenID, oidc.ScopeOfflineAccess}.Encode(), }, wantCode: http.StatusOK, - contains: []string{`{"access_token":"`, `","token_type":"Bearer","expires_in":300}`}, + contains: []string{`{"access_token":"`, `","token_type":"Bearer","expires_in":299}`}, }, { // This call will fail. A successfull test is already @@ -298,7 +298,7 @@ func TestRoutes(t *testing.T) { contains: []string{ `{"access_token":"`, `","token_type":"Bearer","refresh_token":"`, - `","expires_in":300,"id_token":"`, + `","expires_in":299,"id_token":"`, }, }, {