File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -286,7 +286,7 @@ protected function tearDownTest()
286286 {
287287 $ result = $ this ->getTestResultObject ();
288288
289- if ( $ result ->getCollectCodeCoverageInformation () ) {
289+ if ( $ this ->getCollectCodeCoverageInformation () ) {
290290 $ result ->getCodeCoverage ()->append ($ this ->getRemoteCodeCoverageInformation (), $ this );
291291 }
292292
@@ -359,11 +359,7 @@ public function onTestSuiteEnded()
359359 */
360360 protected function getRemoteCodeCoverageInformation ()
361361 {
362- if ( $ this ->_remoteCoverageScriptUrl ) {
363- return $ this ->_remoteCoverageHelper ->get ($ this ->_remoteCoverageScriptUrl , $ this ->_testId );
364- }
365-
366- return $ this ->_remoteCoverageHelper ->getEmpty ();
362+ return $ this ->_remoteCoverageHelper ->get ($ this ->_remoteCoverageScriptUrl , $ this ->_testId );
367363 }
368364
369365 /**
You can’t perform that action at this time.
0 commit comments