mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-05-04 23:13:16 +02:00
[Nostromo] Tweak test
This commit is contained in:
parent
01825db244
commit
d7ad0af25b
|
@ -146,8 +146,9 @@ class RuntimeTest extends TestCase
|
|||
|
||||
/** @var Process $process */
|
||||
$process = $runtime->runLocalCommand('date +%s');
|
||||
$timestamp = time();
|
||||
$this->assertTrue($process->isSuccessful());
|
||||
$this->assertEquals(time(), trim($process->getOutput()));
|
||||
$this->assertEquals($timestamp, trim($process->getOutput()));
|
||||
|
||||
/** @var Process $process */
|
||||
$process = $runtime->runLocalCommand('false');
|
||||
|
|
Loading…
Reference in a new issue