Skip to content

Commit b972c9a

Browse files
MAGETWO-35602: Failures in unit tests coverage builds - PersonalInfoTest::testGetCurrentStatus
- fixed random test
1 parent 0a6bc65 commit b972c9a

File tree

1 file changed

+1
-1
lines changed
  • lib/internal/Magento/Framework/App/Test/Unit/View/Deployment

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/App/Test/Unit/View/Deployment/VersionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function testGetValueDefaultModeSaving()
8080
->expects($this->once())
8181
->method('load')
8282
->will($this->throwException($storageException));
83-
$this->versionStorage->expects($this->once())->method('save')->with(time());
83+
$this->versionStorage->expects($this->once())->method('save')->with($this->equalTo(time(), 5));
8484
$this->assertEquals(time(), $this->object->getValue());
8585
$this->object->getValue(); // Ensure caching in memory
8686
}

0 commit comments

Comments
 (0)