Skip to content

[MAINT] Add test for EMU Group Mapping state migration#3158

Draft
deiga wants to merge 25 commits intointegrations:mainfrom
F-Secure-web:emu-migration-test
Draft

[MAINT] Add test for EMU Group Mapping state migration#3158
deiga wants to merge 25 commits intointegrations:mainfrom
F-Secure-web:emu-migration-test

Conversation

@deiga
Copy link
Collaborator

@deiga deiga commented Feb 4, 2026


Before the change?

  • EMU Group Mapping state migration v0 => v1 doesn't have a test

After the change?

  • EMU Group Mapping state migration v0 => v1 doesn't has a test

Pull request checklist

  • Schema migrations have been created if needed (example)
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)

Does this introduce a breaking change?

Please see our docs on breaking changes to help!

  • Yes
  • No

deiga and others added 25 commits February 4, 2026 11:57
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
…alGroupsForTeamBySlug` to ensure we match state and reality

Signed-off-by: Timo Sand <timo.sand@f-secure.com>
…nnecessary code

Signed-off-by: Timo Sand <timo.sand@f-secure.com>
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
- Adds `github.com/migueleliasweb/go-github-mock` package for mocking go-github endpoints
- Adds `github.com/go-test/deep` package for better error messages when types of fields differ

Signed-off-by: Timo Sand <timo.sand@f-secure.com>
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
… `ForceNew`

Signed-off-by: Timo Sand <timo.sand@f-secure.com>
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
…ice. We need to directly lookup TeamID

Signed-off-by: Timo Sand <timo.sand@f-secure.com>
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
Signed-off-by: Steve Hipwell <steve.hipwell@gmail.com>
@github-actions
Copy link

github-actions bot commented Feb 4, 2026

👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants