This commit is contained in:
onysd 2026-07-20 23:43:56 +03:00
parent ebb0be38d9
commit 865b5ff4f4
10 changed files with 43 additions and 29 deletions

View file

@ -215,7 +215,7 @@ func TestSignInServiceNotificationMatchesEnterpriseShape(t *testing.T) {
if update.Popup || update.InboxDate == 0 || update.Media == nil {
t.Fatalf("notification flags/media = popup %v inbox %d media %T", update.Popup, update.InboxDate, update.Media)
}
for _, want := range []string{"New login.", "Test User", "Telesrv Desktop", "Settings > Devices"} {
for _, want := range []string{"New login.", "Test User", "OwpenGram Desktop", "Settings > Devices"} {
if !strings.Contains(update.Message, want) {
t.Fatalf("notification message %q missing %q", update.Message, want)
}