File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -633,6 +633,19 @@ func (s *MethodTestSuite) TestOrganization() {
633
633
id := uuid .New ()
634
634
check .Args (id ).Asserts (rbac .ResourceIdpsyncSettings .InOrg (id ), policy .ActionRead ).Returns ([]string {})
635
635
}))
636
+ s .Run ("Deployment/OIDCClaimFieldValues" , s .Subtest (func (db database.Store , check * expects ) {
637
+ check .Args (database.OIDCClaimFieldValuesParams {
638
+ ClaimField : "claim-field" ,
639
+ OrganizationID : uuid .Nil ,
640
+ }).Asserts (rbac .ResourceIdpsyncSettings , policy .ActionRead ).Returns ([]string {})
641
+ }))
642
+ s .Run ("Organization/OIDCClaimFieldValues" , s .Subtest (func (db database.Store , check * expects ) {
643
+ id := uuid .New ()
644
+ check .Args (database.OIDCClaimFieldValuesParams {
645
+ ClaimField : "claim-field" ,
646
+ OrganizationID : id ,
647
+ }).Asserts (rbac .ResourceIdpsyncSettings .InOrg (id ), policy .ActionRead ).Returns ([]string {})
648
+ }))
636
649
s .Run ("ByOrganization/GetGroups" , s .Subtest (func (db database.Store , check * expects ) {
637
650
o := dbgen .Organization (s .T (), db , database.Organization {})
638
651
a := dbgen .Group (s .T (), db , database.Group {OrganizationID : o .ID })
You can’t perform that action at this time.
0 commit comments