forked from baron/baron-sso
worksmobile 연동 & ory stack 26.2.0으로 업그레이드
This commit is contained in:
@@ -202,7 +202,7 @@ func TestUserGroupService_Create(t *testing.T) {
|
||||
|
||||
// Mock Tenant creation (Polymorphic)
|
||||
mockTenantRepo.On("Create", mock.Anything, mock.MatchedBy(func(ten *domain.Tenant) bool {
|
||||
return ten.Type == domain.TenantTypeUserGroup && ten.Name == name && *ten.ParentID == parentID
|
||||
return ten.Type == domain.TenantTypeOrganization && ten.Name == name && *ten.ParentID == parentID
|
||||
})).Return(nil)
|
||||
|
||||
// Mock UserGroup creation
|
||||
|
||||
Reference in New Issue
Block a user