When starting a manual build, replace the "Manual" commit id with the HEAD hash.
Close #928
This commit is contained in:
parent
3c7cddcc1c
commit
3427252cfe
3 changed files with 11 additions and 9 deletions
|
|
@ -57,7 +57,7 @@ class BuildServiceTest extends \PHPUnit_Framework_TestCase
|
|||
$this->assertNull($returnValue->getStarted());
|
||||
$this->assertNull($returnValue->getFinished());
|
||||
$this->assertNull($returnValue->getLog());
|
||||
$this->assertEmpty($returnValue->getCommitMessage());
|
||||
$this->assertEquals(\PHPCI\Helper\Lang::get('manual_build'), $returnValue->getCommitMessage());
|
||||
$this->assertNull($returnValue->getCommitterEmail());
|
||||
$this->assertNull($returnValue->getExtra());
|
||||
$this->assertEquals('master', $returnValue->getBranch());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue