forked from baron/baron-sso
chore: snapshot local state before dev merge
This commit is contained in:
@@ -36,3 +36,14 @@ func TestClassifyWorksmobileAlignFromWorksSkipsLocalPartChange(t *testing.T) {
|
||||
t.Fatalf("expected skipped_email_local_part_changed status, got %s", status)
|
||||
}
|
||||
}
|
||||
|
||||
func TestWorksmobileUserLevelPatchDomainIDPrefersLevelDomain(t *testing.T) {
|
||||
payload := service.WorksmobileUserPayload{
|
||||
DomainID: 300285955,
|
||||
LevelDomainID: 300286337,
|
||||
}
|
||||
|
||||
if got := worksmobileUserLevelPatchDomainID(payload); got != 300286337 {
|
||||
t.Fatalf("expected level domain id, got %d", got)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user