Use GetTeamBySlug instead of ListTeams in team data source#579
Use GetTeamBySlug instead of ListTeams in team data source#579jcudit merged 1 commit intointegrations:masterfrom
Conversation
|
New to contributing to this repo, so forgive me if this info is located somewhere. I see the acceptance tests are failing on this PR, but I was hoping to just run the tests related to this file ( Is there an easy way to just test my changes without triggering the entire acceptance test suite locally as well? |
|
@k24dizzle thanks for putting this PR together. The change looks 👌 but will do some extra validation outside of this PR to make sure all is well. Apologies for the state of acceptance testing. I'll have to do more reading up on why this behaviour is happening. Seems to be an issue with forks and the workflows configured for this project 🙃 . As for local testing, take a look at the I will also get another branch started that pulls in the commits in this PR, which should get the test suite running properly against this diff. |
Instead of using
ListTeamsto iterate through every single team, use GetTeamBySlug to find the team that matches a given slug.