mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: ensure default org always exists (#12412)
* chore: ensure default org always exists First user just joins the org created by the migration
This commit is contained in:
@@ -1093,9 +1093,7 @@ func TestInitialRoles(t *testing.T) {
|
||||
rbac.RoleOwner(),
|
||||
}, "should be a member and admin")
|
||||
|
||||
require.ElementsMatch(t, roles.OrganizationRoles[first.OrganizationID], []string{
|
||||
rbac.RoleOrgMember(first.OrganizationID),
|
||||
}, "should be a member and admin")
|
||||
require.ElementsMatch(t, roles.OrganizationRoles[first.OrganizationID], []string{}, "should be a member")
|
||||
}
|
||||
|
||||
func TestPutUserSuspend(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user