mirror of
https://github.com/netbirdio/netbird.git
synced 2026-09-18 12:49:07 +02:00
Fix codespell and test comment
This commit is contained in:
@@ -103,10 +103,8 @@ func setupServerWithProfile(t *testing.T) (s *Server, ctx context.Context, profN
|
||||
return s, ctx, profName, currUser.Username, cfgPath
|
||||
}
|
||||
|
||||
// testProfileOwner is the identity the unprivileged test contexts carry, so a
|
||||
// fixture profile can be owned by the very caller that drives the handler.
|
||||
// Without an owner the profile is unowned, which the loader hides from every
|
||||
// unprivileged caller.
|
||||
// testProfileOwner is the identity userCtx carries, which is who a fixture
|
||||
// profile belongs to.
|
||||
func testProfileOwner() *ipcauth.Identity {
|
||||
id := unprivilegedIdentity()
|
||||
return &id
|
||||
|
||||
Reference in New Issue
Block a user