@@ -145,14 +145,13 @@ public function testSingleEmailRecipient()
145
145
{
146
146
$ container = $ this ->getContainer ('single_email_recipient ' );
147
147
148
- $ this ->assertEquals (
149
- [
148
+ $ this ->assertEquals ([
150
149
new Reference ('mailer ' ),
151
150
'error@example.com ' , // from
152
151
['error@example.com ' ], // to
153
152
'An Error Occurred! ' , // subject
154
153
null ,
155
- ], $ container ->getDefinition ('monolog.handler.swift.mail_message_factory ' )->getArguments ());
154
+ ], $ container ->getDefinition ('monolog.handler.swift.mail_message_factory ' )->getArguments ());
156
155
}
157
156
158
157
public function testServerLog ()
@@ -163,26 +162,24 @@ public function testServerLog()
163
162
164
163
$ container = $ this ->getContainer ('server_log ' );
165
164
166
- $ this ->assertEquals (
167
- [
165
+ $ this ->assertEquals ([
168
166
'0:9911 ' ,
169
167
100 ,
170
168
true ,
171
- ], $ container ->getDefinition ('monolog.handler.server_log ' )->getArguments ());
169
+ ], $ container ->getDefinition ('monolog.handler.server_log ' )->getArguments ());
172
170
}
173
171
174
172
public function testMultipleEmailRecipients ()
175
173
{
176
174
$ container = $ this ->getContainer ('multiple_email_recipients ' );
177
175
178
- $ this ->assertEquals (
179
- [
176
+ $ this ->assertEquals ([
180
177
new Reference ('mailer ' ),
181
178
'error@example.com ' ,
182
179
['dev1@example.com ' , 'dev2@example.com ' ],
183
180
'An Error Occurred! ' ,
184
181
null
185
- ], $ container ->getDefinition ('monolog.handler.swift.mail_message_factory ' )->getArguments ());
182
+ ], $ container ->getDefinition ('monolog.handler.swift.mail_message_factory ' )->getArguments ());
186
183
}
187
184
188
185
public function testChannelParametersResolved ()
0 commit comments