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:
Cursor Agent
2026-05-28 22:45:45 +00:00
committed by Bryan Frimin
parent 93ec0d73da
commit 0136e34986

View File

@@ -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