mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-11-01 03:26:36 +08:00 
			
		
		
		
	Fix testVariadicConstructor and testVariadicCallable in ContainerTest.php.
				
					
				
			This commit is contained in:
		| @ -481,6 +481,8 @@ class ContainerTest extends TestCase | ||||
|  | ||||
|     public function testVariadicConstructor() | ||||
|     { | ||||
|         $this->expectNotToPerformAssertions(); | ||||
|  | ||||
|         if (\defined('HHVM_VERSION')) { | ||||
|             static::markTestSkipped('Can not test on HHVM because it does not support variadics.'); | ||||
|         } | ||||
| @ -491,6 +493,8 @@ class ContainerTest extends TestCase | ||||
|  | ||||
|     public function testVariadicCallable() | ||||
|     { | ||||
|         $this->expectNotToPerformAssertions(); | ||||
|  | ||||
|         if (\defined('HHVM_VERSION')) { | ||||
|             static::markTestSkipped('Can not test on HHVM because it does not support variadics.'); | ||||
|         } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Wilmer Arambula
					Wilmer Arambula