mirror of
				https://github.com/hauke68/Magallanes.git
				synced 2025-11-04 00:50:18 +01:00 
			
		
		
		
	setting constant in phpunit config
This commit is contained in:
		
							parent
							
								
									008ef980e0
								
							
						
					
					
						commit
						74bb9ad5f7
					
				@ -15,5 +15,9 @@
 | 
			
		||||
        <directory suffix=".php">src</directory>
 | 
			
		||||
      </whitelist>
 | 
			
		||||
    </filter>
 | 
			
		||||
 | 
			
		||||
    <php>
 | 
			
		||||
        <const name="MAGALLANES_VERSION" value="2" />
 | 
			
		||||
    </php>
 | 
			
		||||
</phpunit>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -13,7 +13,6 @@ class VersionCommandTest extends PHPUnit_Framework_TestCase
 | 
			
		||||
{
 | 
			
		||||
    public function testRun()
 | 
			
		||||
    {
 | 
			
		||||
        define('MAGALLANES_VERSION', '1');
 | 
			
		||||
        $this->workAroundStatic();
 | 
			
		||||
        $command = new VersionCommand();
 | 
			
		||||
        $command->run();
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user