update CI

This commit is contained in:
Hayden 2022-09-03 01:24:28 -08:00
parent 8c5f481fb9
commit 08d6c83fd4
4 changed files with 18 additions and 5 deletions

View file

@ -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{}