Browse Source

[Nostromo] Tweak test

pull/1/head
Andrés Montañez 8 years ago
parent
commit
d7ad0af25b
  1. 3
      src/Mage/Tests/Runtime/RuntimeTest.php

3
src/Mage/Tests/Runtime/RuntimeTest.php

@ -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…
Cancel
Save