Skip to content

Commit

Permalink
test: update sql fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
nsklikas committed Apr 29, 2024
1 parent 527ea77 commit 08cf1e4
Show file tree
Hide file tree
Showing 19 changed files with 223 additions and 1 deletion.
12 changes: 12 additions & 0 deletions persistence/sql/migratest/fixtures/hydra_client/client-0001.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,18 @@
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantAccessTokenLifespan": {
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantIDTokenLifespan": {
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantRefreshTokenLifespan": {
"Duration": 0,
"Valid": false
},
"ImplicitGrantAccessTokenLifespan": {
"Duration": 0,
"Valid": false
Expand Down
12 changes: 12 additions & 0 deletions persistence/sql/migratest/fixtures/hydra_client/client-0002.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,18 @@
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantAccessTokenLifespan": {
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantIDTokenLifespan": {
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantRefreshTokenLifespan": {
"Duration": 0,
"Valid": false
},
"ImplicitGrantAccessTokenLifespan": {
"Duration": 0,
"Valid": false
Expand Down
12 changes: 12 additions & 0 deletions persistence/sql/migratest/fixtures/hydra_client/client-0003.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,18 @@
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantAccessTokenLifespan": {
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantIDTokenLifespan": {
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantRefreshTokenLifespan": {
"Duration": 0,
"Valid": false
},
"ImplicitGrantAccessTokenLifespan": {
"Duration": 0,
"Valid": false
Expand Down
12 changes: 12 additions & 0 deletions persistence/sql/migratest/fixtures/hydra_client/client-0004.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,18 @@
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantAccessTokenLifespan": {
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantIDTokenLifespan": {
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantRefreshTokenLifespan": {
"Duration": 0,
"Valid": false
},
"ImplicitGrantAccessTokenLifespan": {
"Duration": 0,
"Valid": false
Expand Down
12 changes: 12 additions & 0 deletions persistence/sql/migratest/fixtures/hydra_client/client-0005.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,18 @@
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantAccessTokenLifespan": {
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantIDTokenLifespan": {
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantRefreshTokenLifespan": {
"Duration": 0,
"Valid": false
},
"ImplicitGrantAccessTokenLifespan": {
"Duration": 0,
"Valid": false
Expand Down
12 changes: 12 additions & 0 deletions persistence/sql/migratest/fixtures/hydra_client/client-0006.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,18 @@
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantAccessTokenLifespan": {
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantIDTokenLifespan": {
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantRefreshTokenLifespan": {
"Duration": 0,
"Valid": false
},
"ImplicitGrantAccessTokenLifespan": {
"Duration": 0,
"Valid": false
Expand Down
12 changes: 12 additions & 0 deletions persistence/sql/migratest/fixtures/hydra_client/client-0007.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,18 @@
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantAccessTokenLifespan": {
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantIDTokenLifespan": {
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantRefreshTokenLifespan": {
"Duration": 0,
"Valid": false
},
"ImplicitGrantAccessTokenLifespan": {
"Duration": 0,
"Valid": false
Expand Down
12 changes: 12 additions & 0 deletions persistence/sql/migratest/fixtures/hydra_client/client-0008.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,18 @@
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantAccessTokenLifespan": {
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantIDTokenLifespan": {
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantRefreshTokenLifespan": {
"Duration": 0,
"Valid": false
},
"ImplicitGrantAccessTokenLifespan": {
"Duration": 0,
"Valid": false
Expand Down
12 changes: 12 additions & 0 deletions persistence/sql/migratest/fixtures/hydra_client/client-0009.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,18 @@
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantAccessTokenLifespan": {
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantIDTokenLifespan": {
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantRefreshTokenLifespan": {
"Duration": 0,
"Valid": false
},
"ImplicitGrantAccessTokenLifespan": {
"Duration": 0,
"Valid": false
Expand Down
12 changes: 12 additions & 0 deletions persistence/sql/migratest/fixtures/hydra_client/client-0010.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,18 @@
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantAccessTokenLifespan": {
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantIDTokenLifespan": {
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantRefreshTokenLifespan": {
"Duration": 0,
"Valid": false
},
"ImplicitGrantAccessTokenLifespan": {
"Duration": 0,
"Valid": false
Expand Down
12 changes: 12 additions & 0 deletions persistence/sql/migratest/fixtures/hydra_client/client-0011.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,18 @@
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantAccessTokenLifespan": {
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantIDTokenLifespan": {
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantRefreshTokenLifespan": {
"Duration": 0,
"Valid": false
},
"ImplicitGrantAccessTokenLifespan": {
"Duration": 0,
"Valid": false
Expand Down
12 changes: 12 additions & 0 deletions persistence/sql/migratest/fixtures/hydra_client/client-0012.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,18 @@
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantAccessTokenLifespan": {
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantIDTokenLifespan": {
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantRefreshTokenLifespan": {
"Duration": 0,
"Valid": false
},
"ImplicitGrantAccessTokenLifespan": {
"Duration": 0,
"Valid": false
Expand Down
12 changes: 12 additions & 0 deletions persistence/sql/migratest/fixtures/hydra_client/client-0013.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,18 @@
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantAccessTokenLifespan": {
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantIDTokenLifespan": {
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantRefreshTokenLifespan": {
"Duration": 0,
"Valid": false
},
"ImplicitGrantAccessTokenLifespan": {
"Duration": 0,
"Valid": false
Expand Down
12 changes: 12 additions & 0 deletions persistence/sql/migratest/fixtures/hydra_client/client-0014.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,18 @@
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantAccessTokenLifespan": {
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantIDTokenLifespan": {
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantRefreshTokenLifespan": {
"Duration": 0,
"Valid": false
},
"ImplicitGrantAccessTokenLifespan": {
"Duration": 0,
"Valid": false
Expand Down
12 changes: 12 additions & 0 deletions persistence/sql/migratest/fixtures/hydra_client/client-0015.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,18 @@
"Duration": 154000000000,
"Valid": true
},
"DeviceAuthorizationGrantAccessTokenLifespan": {
"Duration": 163000000000,
"Valid": true
},
"DeviceAuthorizationGrantIDTokenLifespan": {
"Duration": 164000000000,
"Valid": true
},
"DeviceAuthorizationGrantRefreshTokenLifespan": {
"Duration": 165000000000,
"Valid": true
},
"ImplicitGrantAccessTokenLifespan": {
"Duration": 155000000000,
"Valid": true
Expand Down
12 changes: 12 additions & 0 deletions persistence/sql/migratest/fixtures/hydra_client/client-20.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,18 @@
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantAccessTokenLifespan": {
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantIDTokenLifespan": {
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantRefreshTokenLifespan": {
"Duration": 0,
"Valid": false
},
"ImplicitGrantAccessTokenLifespan": {
"Duration": 0,
"Valid": false
Expand Down
12 changes: 12 additions & 0 deletions persistence/sql/migratest/fixtures/hydra_client/client-2005.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,18 @@
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantAccessTokenLifespan": {
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantIDTokenLifespan": {
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantRefreshTokenLifespan": {
"Duration": 0,
"Valid": false
},
"ImplicitGrantAccessTokenLifespan": {
"Duration": 0,
"Valid": false
Expand Down
12 changes: 12 additions & 0 deletions persistence/sql/migratest/fixtures/hydra_client/client-21.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,18 @@
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantAccessTokenLifespan": {
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantIDTokenLifespan": {
"Duration": 0,
"Valid": false
},
"DeviceAuthorizationGrantRefreshTokenLifespan": {
"Duration": 0,
"Valid": false
},
"ImplicitGrantAccessTokenLifespan": {
"Duration": 0,
"Valid": false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ INSERT INTO hydra_client
refresh_token_grant_id_token_lifespan,
refresh_token_grant_access_token_lifespan,
refresh_token_grant_refresh_token_lifespan
device_authorization_grant_id_token_lifespan,
device_authorization_grant_access_token_lifespan,
device_authorization_grant_refresh_token_lifespan
)
VALUES
(
Expand Down Expand Up @@ -94,5 +97,8 @@ VALUES
159000000000,
160000000000,
161000000000,
162000000000
162000000000,
163000000000,
164000000000,
165000000000,
);

0 comments on commit 08cf1e4

Please sign in to comment.