mirror of
				https://github.com/hauke68/Magallanes.git
				synced 2025-11-04 00:50:18 +01:00 
			
		
		
		
	[Nostromo] Tweak test
This commit is contained in:
		
							parent
							
								
									01825db244
								
							
						
					
					
						commit
						d7ad0af25b
					
				@ -146,8 +146,9 @@ class RuntimeTest extends TestCase
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        /** @var Process $process */
 | 
					        /** @var Process $process */
 | 
				
			||||||
        $process = $runtime->runLocalCommand('date +%s');
 | 
					        $process = $runtime->runLocalCommand('date +%s');
 | 
				
			||||||
 | 
					        $timestamp = time();
 | 
				
			||||||
        $this->assertTrue($process->isSuccessful());
 | 
					        $this->assertTrue($process->isSuccessful());
 | 
				
			||||||
        $this->assertEquals(time(), trim($process->getOutput()));
 | 
					        $this->assertEquals($timestamp, trim($process->getOutput()));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        /** @var Process $process */
 | 
					        /** @var Process $process */
 | 
				
			||||||
        $process = $runtime->runLocalCommand('false');
 | 
					        $process = $runtime->runLocalCommand('false');
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user