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