From d46d15c64b812d65662ebb9726e2645b1fbe7b6d Mon Sep 17 00:00:00 2001 From: Dmitry Khomutov Date: Sun, 26 Mar 2017 17:48:34 +0700 Subject: [PATCH] Fixed BuildServiceTest test --- tests/PHPCensor/Service/BuildServiceTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/PHPCensor/Service/BuildServiceTest.php b/tests/PHPCensor/Service/BuildServiceTest.php index 2e9487ec..c6430ebb 100644 --- a/tests/PHPCensor/Service/BuildServiceTest.php +++ b/tests/PHPCensor/Service/BuildServiceTest.php @@ -67,7 +67,7 @@ class BuildServiceTest extends \PHPUnit_Framework_TestCase $this->assertNull($returnValue->getLog()); $this->assertEquals('Manual', $returnValue->getCommitMessage()); $this->assertNull($returnValue->getCommitterEmail()); - $this->assertNull($returnValue->getExtra()); + $this->assertEquals(['branches' => []], $returnValue->getExtra()); $this->assertEquals('master', $returnValue->getBranch()); $this->assertInstanceOf('DateTime', $returnValue->getCreated()); $this->assertEquals('Manual', $returnValue->getCommitId());