Fix testVariadicConstructor and testVariadicCallable in ContainerTest.php.

This commit is contained in:
Wilmer Arambula
2024-03-21 09:43:20 -03:00
parent e7f233c4b8
commit 4b1281618a

View File

@ -481,6 +481,8 @@ class ContainerTest extends TestCase
public function testVariadicConstructor() public function testVariadicConstructor()
{ {
$this->expectNotToPerformAssertions();
if (\defined('HHVM_VERSION')) { if (\defined('HHVM_VERSION')) {
static::markTestSkipped('Can not test on HHVM because it does not support variadics.'); static::markTestSkipped('Can not test on HHVM because it does not support variadics.');
} }
@ -491,6 +493,8 @@ class ContainerTest extends TestCase
public function testVariadicCallable() public function testVariadicCallable()
{ {
$this->expectNotToPerformAssertions();
if (\defined('HHVM_VERSION')) { if (\defined('HHVM_VERSION')) {
static::markTestSkipped('Can not test on HHVM because it does not support variadics.'); static::markTestSkipped('Can not test on HHVM because it does not support variadics.');
} }