@@ -40,7 +40,7 @@ public function testForBankAccountTest()
4040 $ expectedFilesPath = self ::$ TEST_REPORT_PATH_SOURCE . DIRECTORY_SEPARATOR . 'CoverageForBankAccount ' ;
4141
4242 $ xml = new Facade ('1.0.0 ' );
43- $ xml ->process ($ this ->getCoverageForBankAccount (), self ::$ TEST_TMP_PATH );
43+ $ xml ->process ($ this ->getCoverageForBankAccount ()-> getReport (), $ this -> getCoverageForBankAccount () , self ::$ TEST_TMP_PATH );
4444
4545 $ this ->assertFilesEquals ($ expectedFilesPath , self ::$ TEST_TMP_PATH );
4646 }
@@ -50,7 +50,7 @@ public function testForFileWithIgnoredLines()
5050 $ expectedFilesPath = self ::$ TEST_REPORT_PATH_SOURCE . DIRECTORY_SEPARATOR . 'CoverageForFileWithIgnoredLines ' ;
5151
5252 $ xml = new Facade ('1.0.0 ' );
53- $ xml ->process ($ this ->getCoverageForFileWithIgnoredLines (), self ::$ TEST_TMP_PATH );
53+ $ xml ->process ($ this ->getCoverageForFileWithIgnoredLines ()-> getReport (), $ this -> getCoverageForFileWithIgnoredLines () , self ::$ TEST_TMP_PATH );
5454
5555 $ this ->assertFilesEquals ($ expectedFilesPath , self ::$ TEST_TMP_PATH );
5656 }
@@ -61,7 +61,7 @@ public function testForClassWithAnonymousFunction()
6161 self ::$ TEST_REPORT_PATH_SOURCE . DIRECTORY_SEPARATOR . 'CoverageForClassWithAnonymousFunction ' ;
6262
6363 $ xml = new Facade ('1.0.0 ' );
64- $ xml ->process ($ this ->getCoverageForClassWithAnonymousFunction (), self ::$ TEST_TMP_PATH );
64+ $ xml ->process ($ this ->getCoverageForClassWithAnonymousFunction ()-> getReport (), $ this -> getCoverageForClassWithAnonymousFunction () , self ::$ TEST_TMP_PATH );
6565
6666 $ this ->assertFilesEquals ($ expectedFilesPath , self ::$ TEST_TMP_PATH );
6767 }
0 commit comments