mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-10-31 02:28:35 +08:00 
			
		
		
		
	Change @expectException with $this->expectException.
				
					
				
			This commit is contained in:
		| @ -215,19 +215,15 @@ class FixtureControllerTest extends DatabaseTestCase | ||||
|         $this->assertEmpty(FixtureStorage::$firstFixtureData, 'first fixture data should not be loaded'); | ||||
|     } | ||||
|  | ||||
|     /** | ||||
|      * @expectedException \yii\console\Exception | ||||
|      */ | ||||
|     public function testNoFixturesWereFoundInLoad() | ||||
|     { | ||||
|         $this->expectException('\yii\console\Exception'); | ||||
|         $this->_fixtureController->actionLoad(['NotExistingFixture']); | ||||
|     } | ||||
|  | ||||
|     /** | ||||
|      * @expectedException \yii\console\Exception | ||||
|      */ | ||||
|     public function testNoFixturesWereFoundInUnload() | ||||
|     { | ||||
|         $this->expectException('\yii\console\Exception'); | ||||
|         $this->_fixtureController->actionUnload(['NotExistingFixture']); | ||||
|     } | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Wilmer Arambula
					Wilmer Arambula