File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -626,6 +626,13 @@ func (s *MethodTestSuite) TestLicense() {
626
626
}
627
627
628
628
func (s * MethodTestSuite ) TestOrganization () {
629
+ s .Run ("Deployment/OIDCClaimFields" , s .Subtest (func (db database.Store , check * expects ) {
630
+ check .Args (uuid .Nil ).Asserts (rbac .ResourceIdpsyncSettings , policy .ActionRead ).Returns ([]string {})
631
+ }))
632
+ s .Run ("Organization/OIDCClaimFields" , s .Subtest (func (db database.Store , check * expects ) {
633
+ id := uuid .New ()
634
+ check .Args (id ).Asserts (rbac .ResourceIdpsyncSettings .InOrg (id ), policy .ActionRead ).Returns ([]string {})
635
+ }))
629
636
s .Run ("ByOrganization/GetGroups" , s .Subtest (func (db database.Store , check * expects ) {
630
637
o := dbgen .Organization (s .T (), db , database.Organization {})
631
638
a := dbgen .Group (s .T (), db , database.Group {OrganizationID : o .ID })
You can’t perform that action at this time.
0 commit comments