Merge pull request #1436 from trheyi/main
Fix Default Email Channel in Tests
This commit is contained in:
commit
6886d15ff3
1 changed files with 2 additions and 2 deletions
|
|
@ -439,8 +439,8 @@ func TestDeliveryCenterMixedChannels(t *testing.T) {
|
||||||
|
|
||||||
func TestDefaultEmailChannel(t *testing.T) {
|
func TestDefaultEmailChannel(t *testing.T) {
|
||||||
t.Run("returns default email channel", func(t *testing.T) {
|
t.Run("returns default email channel", func(t *testing.T) {
|
||||||
// Default should be "email"
|
// Default should be "default"
|
||||||
assert.Equal(t, "email", types.DefaultEmailChannel())
|
assert.Equal(t, "default", types.DefaultEmailChannel())
|
||||||
})
|
})
|
||||||
|
|
||||||
t.Run("can set custom email channel", func(t *testing.T) {
|
t.Run("can set custom email channel", func(t *testing.T) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue