Satisfy whitespace lint in demotion test
Separate the owner membership variable from the range loop in the e2e regression to match the repository's whitespace lint rules. Signed-off-by: Cursor Agent <cursoragent@cursor.com>
This commit is contained in:
committed by
Bryan Frimin
parent
93ec0d73da
commit
0136e34986
@@ -159,6 +159,7 @@ func TestUser_UpdateMembershipRejectsLastOwnerDemotion(t *testing.T) {
|
||||
require.NoError(t, err)
|
||||
|
||||
var ownerMembershipID string
|
||||
|
||||
for _, edge := range profilesResult.Node.Profiles.Edges {
|
||||
if edge.Node.Membership.Role == "OWNER" {
|
||||
ownerMembershipID = edge.Node.Membership.ID
|
||||
|
||||
Reference in New Issue
Block a user