@@ -78,8 +78,7 @@ public function testSend()
78
78
$ orderSender = $ this ->objectManager
79
79
->create (\Magento \Sales \Model \Order \Email \Sender \ShipmentSender::class);
80
80
$ result = $ orderSender ->send ($ shipment , true );
81
- $ this ->assertFalse (array_search ('Environment emulation nesting is not allowed. ' ,
82
- array_column ($ this ->logger ->getMessages (), 'message ' )));
81
+ $ this ->assertFalse (array_search ('Environment emulation nesting is not allowed. ' , array_column ($ this ->logger ->getMessages (), 'message ' )));
83
82
$ this ->assertTrue ($ result );
84
83
85
84
$ this ->assertNotEmpty ($ shipment ->getEmailSent ());
@@ -105,8 +104,7 @@ public function testSendWhenCustomerEmailWasModified()
105
104
$ this ->assertEmpty ($ shipment ->getEmailSent ());
106
105
$ result = $ shipmentSender ->send ($ shipment , true );
107
106
108
- $ this ->assertFalse (array_search ('Environment emulation nesting is not allowed. ' ,
109
- array_column ($ this ->logger ->getMessages (), 'message ' )));
107
+ $ this ->assertFalse (array_search ('Environment emulation nesting is not allowed. ' , array_column ($ this ->logger ->getMessages (), 'message ' )));
110
108
$ this ->assertEquals (self ::NEW_CUSTOMER_EMAIL , $ shipmentIdentity ->getCustomerEmail ());
111
109
$ this ->assertTrue ($ result );
112
110
$ this ->assertNotEmpty ($ shipment ->getEmailSent ());
@@ -128,8 +126,7 @@ public function testSendWhenCustomerEmailWasNotModified()
128
126
$ this ->assertEmpty ($ shipment ->getEmailSent ());
129
127
$ result = $ shipmentSender ->send ($ shipment , true );
130
128
131
- $ this ->assertFalse (array_search ('Environment emulation nesting is not allowed. ' ,
132
- array_column ($ this ->logger ->getMessages (), 'message ' )));
129
+ $ this ->assertFalse (array_search ('Environment emulation nesting is not allowed. ' , array_column ($ this ->logger ->getMessages (), 'message ' )));
133
130
$ this ->assertEquals (self ::OLD_CUSTOMER_EMAIL , $ shipmentIdentity ->getCustomerEmail ());
134
131
$ this ->assertTrue ($ result );
135
132
$ this ->assertNotEmpty ($ shipment ->getEmailSent ());
@@ -154,8 +151,7 @@ public function testSendWithoutCustomer()
154
151
$ this ->assertEmpty ($ shipment ->getEmailSent ());
155
152
$ result = $ shipmentSender ->send ($ shipment , true );
156
153
157
- $ this ->assertFalse (array_search ('Environment emulation nesting is not allowed. ' ,
158
- array_column ($ this ->logger ->getMessages (), 'message ' )));
154
+ $ this ->assertFalse (array_search ('Environment emulation nesting is not allowed. ' , array_column ($ this ->logger ->getMessages (), 'message ' )));
159
155
$ this ->assertEquals (self ::ORDER_EMAIL , $ shipmentIdentity ->getCustomerEmail ());
160
156
$ this ->assertTrue ($ result );
161
157
$ this ->assertNotEmpty ($ shipment ->getEmailSent ());
0 commit comments