Skip to content

Commit a8dcda1

Browse files
author
Joan He
committed
MAGETWO-44798: [Varnish4] Page cache is not disabled if Varnish is used
1 parent c4e7afd commit a8dcda1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

setup/src/Magento/Setup/Test/Unit/Model/InstallerTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ public function testUninstall()
390390
]));
391391
$this->logger->expects($this->at(0))->method('log')->with('Starting Magento uninstallation:');
392392
$this->logger
393-
->expects($this->at(1))
393+
->expects($this->at(2))
394394
->method('log')
395395
->with('No database connection defined - skipping database cleanup');
396396
$cacheManager = $this->getMock('Magento\Framework\App\Cache\Manager', [], [], '', false);
@@ -400,7 +400,7 @@ public function testUninstall()
400400
->method('get')
401401
->with('Magento\Framework\App\Cache\Manager')
402402
->willReturn($cacheManager);
403-
$this->logger->expects($this->at(2))->method('log')->with('Cache cleared successfully');
403+
$this->logger->expects($this->at(1))->method('log')->with('Cache cleared successfully');
404404
$this->logger->expects($this->at(3))->method('log')->with('File system cleanup:');
405405
$this->logger
406406
->expects($this->at(4))
@@ -494,7 +494,7 @@ private function prepareForUpdateModulesTests()
494494

495495
/**
496496
* Mocking autoload function
497-
*
497+
*
498498
* @returns array
499499
*/
500500
function spl_autoload_functions()

0 commit comments

Comments
 (0)