@@ -56,6 +56,7 @@ describe('server', () => {
56
56
fileKey : 'test' ,
57
57
verifyUserEmails : true ,
58
58
emailAdapter : MockEmailAdapterWithOptions ( {
59
+
59
60
apiKey : 'k' ,
60
61
domain : 'd' ,
61
62
} ) ,
@@ -80,6 +81,7 @@ describe('server', () => {
80
81
emailAdapter : {
81
82
class : MockEmailAdapterWithOptions ,
82
83
options : {
84
+
83
85
apiKey : 'k' ,
84
86
domain : 'd' ,
85
87
}
@@ -105,6 +107,7 @@ describe('server', () => {
105
107
emailAdapter : {
106
108
module : './Email/SimpleMailgunAdapter' ,
107
109
options : {
110
+
108
111
apiKey : 'k' ,
109
112
domain : 'd' ,
110
113
}
@@ -129,7 +132,7 @@ describe('server', () => {
129
132
verifyUserEmails : true ,
130
133
emailAdapter : './Email/SimpleMailgunAdapter' ,
131
134
publicServerURL : 'http://localhost:8378/1'
132
- } ) ) . toThrow ( 'SimpleMailgunAdapter requires an API Key and domain .' ) ;
135
+ } ) ) . toThrow ( 'SimpleMailgunAdapter requires an API Key, domain, and fromAddress .' ) ;
133
136
done ( ) ;
134
137
} ) ;
135
138
@@ -153,7 +156,7 @@ describe('server', () => {
153
156
}
154
157
} ,
155
158
publicServerURL : 'http://localhost:8378/1'
156
- } ) ) . toThrow ( 'SimpleMailgunAdapter requires an API Key and domain .' ) ;
159
+ } ) ) . toThrow ( 'SimpleMailgunAdapter requires an API Key, domain, and fromAddress .' ) ;
157
160
done ( ) ;
158
161
} ) ;
159
162
0 commit comments