File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ package prebuilds
2
2
3
3
import "github.com/google/uuid"
4
4
5
- var OwnerID = uuid .MustParse ("c42fdf75-3097-471c-8c33-fb52454d81c0" )
5
+ var SystemUserID = uuid .MustParse ("c42fdf75-3097-471c-8c33-fb52454d81c0" )
Original file line number Diff line number Diff line change @@ -2460,7 +2460,7 @@ func TestSystemUserBehaviour(t *testing.T) {
2460
2460
require .NotNil (t , regularUser )
2461
2461
2462
2462
require .True (t , systemUser .IsSystem .Bool )
2463
- require .Equal (t , systemUser .ID , prebuilds .OwnerID )
2463
+ require .Equal (t , systemUser .ID , prebuilds .SystemUserID )
2464
2464
require .False (t , regularUser .IsSystem .Bool )
2465
2465
require .Equal (t , regularUser .ID , other .ID )
2466
2466
Original file line number Diff line number Diff line change @@ -840,7 +840,7 @@ func TestGroup(t *testing.T) {
840
840
ctx := testutil .Context (t , testutil .WaitLong )
841
841
842
842
// nolint:gocritic // "This client is operating as the owner user" is fine in this case.
843
- prebuildsUser , err := client .User (ctx , prebuilds .OwnerID .String ())
843
+ prebuildsUser , err := client .User (ctx , prebuilds .SystemUserID .String ())
844
844
require .NoError (t , err )
845
845
// The 'Everyone' group always has an ID that matches the organization ID.
846
846
group , err := userAdminClient .Group (ctx , user .OrganizationID )
You can’t perform that action at this time.
0 commit comments