Revert "Update conformance"
This reverts commit 9c7ceabe8aebf6c740c237c5e76c21397179f901.
This commit is contained in:
parent
9ce4393156
commit
41b7c855d0
@ -91,6 +91,7 @@ func testAuthRequestCRUD(t *testing.T, s storage.Storage) {
|
|||||||
LoggedIn: true,
|
LoggedIn: true,
|
||||||
Expiry: neverExpire,
|
Expiry: neverExpire,
|
||||||
ConnectorID: "ldap",
|
ConnectorID: "ldap",
|
||||||
|
ConnectorData: []byte(`{"some":"data"}`),
|
||||||
Claims: storage.Claims{
|
Claims: storage.Claims{
|
||||||
UserID: "1",
|
UserID: "1",
|
||||||
Username: "jane",
|
Username: "jane",
|
||||||
@ -122,6 +123,7 @@ func testAuthRequestCRUD(t *testing.T, s storage.Storage) {
|
|||||||
LoggedIn: true,
|
LoggedIn: true,
|
||||||
Expiry: neverExpire,
|
Expiry: neverExpire,
|
||||||
ConnectorID: "ldap",
|
ConnectorID: "ldap",
|
||||||
|
ConnectorData: []byte(`{"some":"data"}`),
|
||||||
Claims: storage.Claims{
|
Claims: storage.Claims{
|
||||||
UserID: "2",
|
UserID: "2",
|
||||||
Username: "john",
|
Username: "john",
|
||||||
@ -170,6 +172,7 @@ func testAuthCodeCRUD(t *testing.T, s storage.Storage) {
|
|||||||
Scopes: []string{"openid", "email"},
|
Scopes: []string{"openid", "email"},
|
||||||
Expiry: neverExpire,
|
Expiry: neverExpire,
|
||||||
ConnectorID: "ldap",
|
ConnectorID: "ldap",
|
||||||
|
ConnectorData: []byte(`{"some":"data"}`),
|
||||||
Claims: storage.Claims{
|
Claims: storage.Claims{
|
||||||
UserID: "1",
|
UserID: "1",
|
||||||
Username: "jane",
|
Username: "jane",
|
||||||
@ -191,6 +194,7 @@ func testAuthCodeCRUD(t *testing.T, s storage.Storage) {
|
|||||||
Scopes: []string{"openid", "email"},
|
Scopes: []string{"openid", "email"},
|
||||||
Expiry: neverExpire,
|
Expiry: neverExpire,
|
||||||
ConnectorID: "ldap",
|
ConnectorID: "ldap",
|
||||||
|
ConnectorData: []byte(`{"some":"data"}`),
|
||||||
Claims: storage.Claims{
|
Claims: storage.Claims{
|
||||||
UserID: "2",
|
UserID: "2",
|
||||||
Username: "john",
|
Username: "john",
|
||||||
@ -319,6 +323,7 @@ func testRefreshTokenCRUD(t *testing.T, s storage.Storage) {
|
|||||||
EmailVerified: true,
|
EmailVerified: true,
|
||||||
Groups: []string{"a", "b"},
|
Groups: []string{"a", "b"},
|
||||||
},
|
},
|
||||||
|
ConnectorData: []byte(`{"some":"data"}`),
|
||||||
}
|
}
|
||||||
if err := s.CreateRefresh(refresh); err != nil {
|
if err := s.CreateRefresh(refresh); err != nil {
|
||||||
t.Fatalf("create refresh token: %v", err)
|
t.Fatalf("create refresh token: %v", err)
|
||||||
@ -372,6 +377,7 @@ func testRefreshTokenCRUD(t *testing.T, s storage.Storage) {
|
|||||||
EmailVerified: true,
|
EmailVerified: true,
|
||||||
Groups: []string{"a", "b"},
|
Groups: []string{"a", "b"},
|
||||||
},
|
},
|
||||||
|
ConnectorData: []byte(`{"some":"data"}`),
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := s.CreateRefresh(refresh2); err != nil {
|
if err := s.CreateRefresh(refresh2); err != nil {
|
||||||
@ -732,6 +738,7 @@ func testGC(t *testing.T, s storage.Storage) {
|
|||||||
Scopes: []string{"openid", "email"},
|
Scopes: []string{"openid", "email"},
|
||||||
Expiry: expiry,
|
Expiry: expiry,
|
||||||
ConnectorID: "ldap",
|
ConnectorID: "ldap",
|
||||||
|
ConnectorData: []byte(`{"some":"data"}`),
|
||||||
Claims: storage.Claims{
|
Claims: storage.Claims{
|
||||||
UserID: "1",
|
UserID: "1",
|
||||||
Username: "jane",
|
Username: "jane",
|
||||||
@ -783,6 +790,7 @@ func testGC(t *testing.T, s storage.Storage) {
|
|||||||
LoggedIn: true,
|
LoggedIn: true,
|
||||||
Expiry: expiry,
|
Expiry: expiry,
|
||||||
ConnectorID: "ldap",
|
ConnectorID: "ldap",
|
||||||
|
ConnectorData: []byte(`{"some":"data"}`),
|
||||||
Claims: storage.Claims{
|
Claims: storage.Claims{
|
||||||
UserID: "1",
|
UserID: "1",
|
||||||
Username: "jane",
|
Username: "jane",
|
||||||
@ -842,6 +850,7 @@ func testTimezones(t *testing.T, s storage.Storage) {
|
|||||||
Scopes: []string{"openid", "email"},
|
Scopes: []string{"openid", "email"},
|
||||||
Expiry: expiry,
|
Expiry: expiry,
|
||||||
ConnectorID: "ldap",
|
ConnectorID: "ldap",
|
||||||
|
ConnectorData: []byte(`{"some":"data"}`),
|
||||||
Claims: storage.Claims{
|
Claims: storage.Claims{
|
||||||
UserID: "1",
|
UserID: "1",
|
||||||
Username: "jane",
|
Username: "jane",
|
||||||
|
@ -67,6 +67,7 @@ func testAuthRequestConcurrentUpdate(t *testing.T, s storage.Storage) {
|
|||||||
LoggedIn: true,
|
LoggedIn: true,
|
||||||
Expiry: neverExpire,
|
Expiry: neverExpire,
|
||||||
ConnectorID: "ldap",
|
ConnectorID: "ldap",
|
||||||
|
ConnectorData: []byte(`{"some":"data"}`),
|
||||||
Claims: storage.Claims{
|
Claims: storage.Claims{
|
||||||
UserID: "1",
|
UserID: "1",
|
||||||
Username: "jane",
|
Username: "jane",
|
||||||
|
Reference in New Issue
Block a user