Fix Default Email Channel in Tests
- Updated the expected default email channel in the `TestDefaultEmailChannel` test from "email" to "default" to align with recent configuration changes, ensuring accurate test validation.
This commit is contained in:
parent
239dc4d221
commit
94492c90a7
1 changed files with 2 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue