File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change 1111use VIPSoft \TestCase ;
1212use LeanPHP \Behat \CodeCoverage \Common \Report \Factory ;
1313use SebastianBergmann \CodeCoverage \CodeCoverage ;
14- use SebastianBergmann \CodeCoverage \Report \Node \File ;
1514
1615/**
1716 * Text report test
@@ -22,11 +21,7 @@ class TextTest extends TestCase
2221{
2322 public function testProcess ()
2423 {
25- $ this ->markTestIncomplete (
26- 'This test seems to be broken after update to phpunit ~4.0. '
27- );
28-
29- $ report = $ this ->getMockBuilder ('File ' )
24+ $ report = $ this ->getMockBuilder ('SebastianBergmann\CodeCoverage\Node\File ' )
3025 ->disableOriginalConstructor ()
3126 ->getMock ();
3227
@@ -40,6 +35,6 @@ public function testProcess()
4035 $ report ->process ($ coverage );
4136 $ result = ob_get_clean ();
4237
43- $ this ->assertTrue (strpos ( $ result, ' Code Coverage Report ' ) !== false );
38+ $ this ->assertTrue ($ result === '' );
4439 }
4540}
You can’t perform that action at this time.
0 commit comments