1
0
mirror of https://github.com/hauke68/Magallanes.git synced 2025-08-25 21:00:18 +02:00

[Nostromo] Tweak test

This commit is contained in:
Andrés Montañez 2017-01-03 09:17:24 -03:00
parent 01825db244
commit d7ad0af25b

View File

@ -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');