forked from mirrors/homebox
update CI
This commit is contained in:
parent
8c5f481fb9
commit
08d6c83fd4
4 changed files with 18 additions and 5 deletions
|
@ -2,7 +2,7 @@ package mailer
|
|||
|
||||
import (
|
||||
"encoding/json"
|
||||
"io/ioutil"
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
@ -14,7 +14,7 @@ const (
|
|||
|
||||
func GetTestMailer() (*Mailer, error) {
|
||||
// Read JSON File
|
||||
bytes, err := ioutil.ReadFile(TestMailerConfig)
|
||||
bytes, err := os.ReadFile(TestMailerConfig)
|
||||
|
||||
mailer := &Mailer{}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue