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 897fb311e0a21cfd396eea20b441cf72c53220cc..a89986314b2ca32c7aac579cf2ab2ab95361eb09 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 @@ -80,7 +80,7 @@ class VersionTest extends \PHPUnit_Framework_TestCase ->expects($this->once()) ->method('load') ->will($this->throwException($storageException)); - $this->versionStorage->expects($this->once())->method('save')->with(time()); + $this->versionStorage->expects($this->once())->method('save')->with($this->equalTo(time(), 5)); $this->assertEquals(time(), $this->object->getValue()); $this->object->getValue(); // Ensure caching in memory }