From 961656254d41c621f78fdddd317f996d431a0e90 Mon Sep 17 00:00:00 2001 From: Andriy Nasinnyk <anasinnyk@ebay.com> Date: Mon, 30 Mar 2015 19:56:01 +0300 Subject: [PATCH] MAGETWO-35602: Failures in unit tests coverage builds - PersonalInfoTest::testGetCurrentStatus - fixed random test --- .../Framework/App/Test/Unit/View/Deployment/VersionTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/Magento/Framework/App/Test/Unit/View/Deployment/VersionTest.php b/lib/internal/Magento/Framework/App/Test/Unit/View/Deployment/VersionTest.php index 94a8dcbcb22..897fb311e0a 100644 --- a/lib/internal/Magento/Framework/App/Test/Unit/View/Deployment/VersionTest.php +++ b/lib/internal/Magento/Framework/App/Test/Unit/View/Deployment/VersionTest.php @@ -40,7 +40,7 @@ class VersionTest extends \PHPUnit_Framework_TestCase ->method('getMode') ->will($this->returnValue(\Magento\Framework\App\State::MODE_DEVELOPER)); $this->versionStorage->expects($this->never())->method($this->anything()); - $this->assertEquals(time(), $this->object->getValue()); + $this->assertEquals(time(), $this->object->getValue(), '', 5); $this->object->getValue(); // Ensure computation occurs only once and result is cached in memory } -- GitLab