Merge pull request #1436 from trheyi/main

Fix Default Email Channel in Tests
This commit is contained in:
Max 2026-01-28 16:31:35 +08:00 committed by GitHub
commit 6886d15ff3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -439,8 +439,8 @@ func TestDeliveryCenterMixedChannels(t *testing.T) {
func TestDefaultEmailChannel(t *testing.T) {
t.Run("returns default email channel", func(t *testing.T) {
// Default should be "email"
assert.Equal(t, "email", types.DefaultEmailChannel())
// Default should be "default"
assert.Equal(t, "default", types.DefaultEmailChannel())
})
t.Run("can set custom email channel", func(t *testing.T) {