Use op.SupportedClaims instead of interface

This commit is contained in:
snow flurry 2023-12-05 11:09:53 -08:00
parent 3bb48f7cba
commit 22758c3fce
5 changed files with 9 additions and 31 deletions

View file

@ -544,11 +544,7 @@ func TestSupportedClaims(t *testing.T) {
}{
{
"scopes",
args{func() op.Configuration {
m := mock.NewMockConfiguration(gomock.NewController(t))
m.EXPECT().SupportedClaims().Return(op.DefaultSupportedClaims)
return m
}()},
args{},
[]string{
"sub",
"aud",