@@ -187,7 +187,7 @@ public function testBuildsBasicEmails()
187
187
Build::STATUS_SUCCESS
188
188
);
189
189
190
- $ returnValue = $ this ->testedEmailPlugin ->execute ();
190
+ $ this ->testedEmailPlugin ->execute ();
191
191
192
192
$ this ->
assertContains (
'[email protected] ' ,
$ this ->
message [
'to ' ]);
193
193
}
@@ -204,7 +204,7 @@ public function testBuildsDefaultEmails()
204
204
Build::STATUS_SUCCESS
205
205
);
206
206
207
- $ returnValue = $ this ->testedEmailPlugin ->execute ();
207
+ $ this ->testedEmailPlugin ->execute ();
208
208
209
209
$ this ->
assertContains (
'[email protected] ' ,
$ this ->
message [
'to ' ]);
210
210
}
@@ -267,7 +267,7 @@ public function testMailSuccessfulBuildHaveProjectName()
267
267
Build::STATUS_SUCCESS
268
268
);
269
269
270
- $ returnValue = $ this ->testedEmailPlugin ->execute ();
270
+ $ this ->testedEmailPlugin ->execute ();
271
271
272
272
$ this ->assertContains ('Test-Project ' , $ this ->message ['subject ' ]);
273
273
$ this ->assertContains ('Test-Project ' , $ this ->message ['body ' ]);
@@ -285,7 +285,7 @@ public function testMailFailingBuildHaveProjectName()
285
285
Build::STATUS_FAILED
286
286
);
287
287
288
- $ returnValue = $ this ->testedEmailPlugin ->execute ();
288
+ $ this ->testedEmailPlugin ->execute ();
289
289
290
290
$ this ->assertContains ('Test-Project ' , $ this ->message ['subject ' ]);
291
291
$ this ->assertContains ('Test-Project ' , $ this ->message ['body ' ]);
@@ -303,7 +303,7 @@ public function testMailSuccessfulBuildHaveStatus()
303
303
Build::STATUS_SUCCESS
304
304
);
305
305
306
- $ returnValue = $ this ->testedEmailPlugin ->execute ();
306
+ $ this ->testedEmailPlugin ->execute ();
307
307
308
308
$ this ->assertContains ('Passing ' , $ this ->message ['subject ' ]);
309
309
$ this ->assertContains ('successfull ' , $ this ->message ['body ' ]);
@@ -321,7 +321,7 @@ public function testMailFailingBuildHaveStatus()
321
321
Build::STATUS_FAILED
322
322
);
323
323
324
- $ returnValue = $ this ->testedEmailPlugin ->execute ();
324
+ $ this ->testedEmailPlugin ->execute ();
325
325
326
326
$ this ->assertContains ('Failing ' , $ this ->message ['subject ' ]);
327
327
$ this ->assertContains ('failed ' , $ this ->message ['body ' ]);
0 commit comments