File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
lib/entitlements/backend/github_team
spec/unit/entitlements/backend/github_team Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ def read_team(entitlement_group)
111111 metadata : team_metadata
112112 )
113113 rescue TeamNotFound
114- Entitlements . logger . warn "Team #{ team_identifier } does not exist in this GitHub.com organization"
114+ Entitlements . logger . warn "Team #{ team_identifier } does not exist in this GitHub.com organization. If applied, the team will be created. "
115115 return nil
116116 end
117117
Original file line number Diff line number Diff line change 8484
8585 expect ( logger ) . to receive ( :debug ) . with ( "Setting up GitHub API connection to https://github.fake/api/v3/" )
8686 expect ( logger ) . to receive ( :debug ) . with ( "Loading GitHub team github.fake:kittensinc/team-does-not-exist" )
87- expect ( logger ) . to receive ( :warn ) . with ( "Team team-does-not-exist does not exist in this GitHub.com organization" )
87+ expect ( logger ) . to receive ( :warn ) . with ( "Team team-does-not-exist does not exist in this GitHub.com organization. If applied, the team will be created. " )
8888 result = subject . read_team ( entitlement_group_doesnt_exist )
8989 expect ( result ) . to eq ( nil )
9090 end
You can’t perform that action at this time.
0 commit comments