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.
		
		
		
		
		
			
		
			
				
					
					
						
							22 lines
						
					
					
						
							360 B
						
					
					
				
			
		
		
	
	
							22 lines
						
					
					
						
							360 B
						
					
					
				<?php | 
						|
 | 
						|
namespace yiiunit\framework\elasticsearch; | 
						|
 | 
						|
use yii\redis\Connection; | 
						|
 | 
						|
/** | 
						|
 * @group elasticsearch | 
						|
 */ | 
						|
class ElasticSearchConnectionTest extends ElasticSearchTestCase | 
						|
{ | 
						|
	/** | 
						|
	 * Empty DSN should throw exception | 
						|
	 * @expectedException \yii\base\InvalidConfigException | 
						|
	 */ | 
						|
	public function testEmptyDSN() | 
						|
	{ | 
						|
		$db = new Connection(); | 
						|
		$db->open(); | 
						|
	} | 
						|
 | 
						|
} |