minor #37032 [VarExporter] tfix: s/markAsSkipped/markTestSkipped/ (DavidPrevot)
This PR was merged into the 4.4 branch.
Discussion
----------
[VarExporter] tfix: s/markAsSkipped/markTestSkipped/
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets |
| License | MIT
| Doc PR |
Just fixes a typo causing the testsuite to fail at least on PHP 7.4.5
Commits
-------
393c9d920a
[VarExporter] tfix: s/markAsSkipped/markTestSkipped/
This commit is contained in:
commit
d87b6665dd
@ -92,7 +92,7 @@ class VarExporterTest extends TestCase
|
|||||||
} elseif (\PHP_VERSION_ID < 70400) {
|
} elseif (\PHP_VERSION_ID < 70400) {
|
||||||
$fixtureFile = __DIR__.'/Fixtures/'.$testName.'-legacy.php';
|
$fixtureFile = __DIR__.'/Fixtures/'.$testName.'-legacy.php';
|
||||||
} else {
|
} else {
|
||||||
$this->markAsSkipped('PHP >= 7.4.6 required.');
|
$this->markTestSkipped('PHP >= 7.4.6 required.');
|
||||||
}
|
}
|
||||||
$this->assertStringEqualsFile($fixtureFile, $dump);
|
$this->assertStringEqualsFile($fixtureFile, $dump);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user