[X] integration test for this scenario (should fail at first)
[X] the actual fix
[X] add an occ command to manually trigger migration of a group (e.g. in case of only partial user migrations)
[X] maybe add an occ command to see pending migrations have a repair step instead
[x] possibly also add a test to clean up old members from already migrated groups
Also contains a drive-by fix. I noticed that the list of groups is set newly on every repair step run. Commit 541cfdd6e0d1dcca1477105525a2a8da98376013 fixes this.
failing test proof
![Screenshot_20240704_205417](https://github.com/nextcloud/user_saml/assets/2184312/81f87b55-8483-4042-b27d-19380d750f5b)
fixes #862
maybe add an occ command to see pending migrationshave a repair step insteadAlso contains a drive-by fix. I noticed that the list of groups is set newly on every repair step run. Commit 541cfdd6e0d1dcca1477105525a2a8da98376013 fixes this.
failing test proof
![Screenshot_20240704_205417](https://github.com/nextcloud/user_saml/assets/2184312/81f87b55-8483-4042-b27d-19380d750f5b)need to think about how reasonable and achievable for testing as in the open todo, but otherwise it is pretty much it.