You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							19 lines
						
					
					
						
							328 B
						
					
					
				
			
		
		
	
	
							19 lines
						
					
					
						
							328 B
						
					
					
				| <?php | |
|  | |
| namespace yiiunit\framework\elasticsearch; | |
|  | |
| use yii\redis\Connection; | |
|  | |
| class ElasticSearchConnectionTest extends ElasticSearchTestCase | |
| { | |
| 	/** | |
| 	 * Empty DSN should throw exception | |
| 	 * @expectedException \yii\base\InvalidConfigException | |
| 	 */ | |
| 	public function testEmptyDSN() | |
| 	{ | |
| 		$db = new Connection(); | |
| 		$db->open(); | |
| 	} | |
|  | |
| } |