|
53 | 53 | use PHPUnit\Framework\MockObject\MockObject;
|
54 | 54 | use PHPUnit\Framework\TestCase;
|
55 | 55 | use Magento\Setup\Model\SearchConfig;
|
56 |
| - use Magento\RemoteStorage\Setup\ConfigOptionsList as FileStorageValidator; |
| 56 | + use Magento\RemoteStorage\Setup\ConfigOptionsList as RemoteFileStorageValidator; |
57 | 57 |
|
58 | 58 | /**
|
59 | 59 | * @SuppressWarnings(PHPMD.TooManyFields)
|
@@ -353,7 +353,7 @@ public function testInstall(array $request, array $logMessages)
|
353 | 353 | $registry = $this->createMock(Registry::class);
|
354 | 354 | $searchConfigMock = $this->getMockBuilder(SearchConfig::class)->disableOriginalConstructor()->getMock();
|
355 | 355 |
|
356 |
| - $fileStorageValidatorMock = $this->getMockBuilder(FileStorageValidator::class) |
| 356 | + $remoteFileStorageValidatorMock = $this->getMockBuilder(RemoteFileStorageValidator::class) |
357 | 357 | ->disableOriginalConstructor()
|
358 | 358 | ->getMock();
|
359 | 359 |
|
@@ -390,7 +390,7 @@ public function testInstall(array $request, array $logMessages)
|
390 | 390 | [DeclarationInstaller::class, $this->declarationInstallerMock],
|
391 | 391 | [Registry::class, $registry],
|
392 | 392 | [SearchConfig::class, $searchConfigMock],
|
393 |
| - [FileStorageValidator::class, $fileStorageValidatorMock], |
| 393 | + [RemoteFileStorageValidator::class, $remoteFileStorageValidatorMock], |
394 | 394 | ]);
|
395 | 395 | $this->adminFactory->expects($this->any())->method('create')->willReturn(
|
396 | 396 | $this->createMock(AdminAccount::class)
|
@@ -445,7 +445,7 @@ public function installDataProvider()
|
445 | 445 | ['Module \'Foo_One\':'],
|
446 | 446 | ['Module \'Bar_Two\':'],
|
447 | 447 | ['Installing search configuration...'],
|
448 |
| - ['Validating file storage configuration...'], |
| 448 | + ['Validating remote file storage configuration...'], |
449 | 449 | ['Installing user configuration...'],
|
450 | 450 | ['Enabling caches:'],
|
451 | 451 | ['Current status:'],
|
@@ -497,7 +497,7 @@ public function installDataProvider()
|
497 | 497 | ['Module \'Foo_One\':'],
|
498 | 498 | ['Module \'Bar_Two\':'],
|
499 | 499 | ['Installing search configuration...'],
|
500 |
| - ['Validating file storage configuration...'], |
| 500 | + ['Validating remote file storage configuration...'], |
501 | 501 | ['Installing user configuration...'],
|
502 | 502 | ['Enabling caches:'],
|
503 | 503 | ['Current status:'],
|
|
0 commit comments