Skip to content

Commit 690348e

Browse files
committed
Add test for code-rebuild command.
1 parent c307bc0 commit 690348e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

tests/Functional/EnvCommandsTest.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -471,4 +471,18 @@ public function testViewCommand()
471471
);
472472
$this->assertEquals($expectedUrl, $url);
473473
}
474+
475+
/**
476+
* @test
477+
* @covers \Pantheon\Terminus\Commands\Env\CodeRebuildCommand
478+
*
479+
* @group env
480+
* @group short
481+
*/
482+
public function testCodeRebuild()
483+
{
484+
$this->terminus(
485+
sprintf('env:code-rebuild %s', $this->getSiteEnv())
486+
);
487+
}
474488
}

0 commit comments

Comments
 (0)