Skip to content

Commit 3b7c842

Browse files
committed
changes to fix merge config
1 parent 1909210 commit 3b7c842

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

src/Config/Factory/Cache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class Cache
3232
public const REDIS_BACKEND_CM_CACHE = 'Cm_Cache_Backend_Redis';
3333
public const REDIS_BACKEND_REDIS_CACHE = '\Magento\Framework\Cache\Backend\Redis';
3434

35-
public const VALKEY_BACKEND_CM_CACHE = 'Cm_Cache_Backend_Valkey';
35+
public const VALKEY_BACKEND_CM_CACHE = 'Cm_Cache_Backend_Redis';
3636
public const VALKEY_BACKEND_VALKEY_CACHE = '\Magento\Framework\Cache\Backend\Valkey';
3737

3838
public const VALKEY_BACKEND_REMOTE_SYNCHRONIZED_CACHE = '\Magento\Framework\Cache\Backend\RemoteSynchronizedCache';

src/Test/Functional/Acceptance/ValkeyCest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function testDefaultConfiguration(\CliTester $I, \Codeception\Example $da
5656
$config = $this->getConfig($I);
5757

5858
$I->assertSame(
59-
'Cm_Cache_Backend_Valkey',
59+
'Cm_Cache_Backend_Redis',
6060
$config['cache']['frontend']['default']['backend'],
6161
'Wrong backend model'
6262
);
@@ -72,7 +72,7 @@ public function testDefaultConfiguration(\CliTester $I, \Codeception\Example $da
7272
$I
7373
);
7474
$I->assertSame(
75-
'Cm_Cache_Backend_Valkey',
75+
'Cm_Cache_Backend_Redis',
7676
$config['cache']['frontend']['page_cache']['backend'],
7777
'Wrong backend model'
7878
);

src/Test/Unit/Config/Factory/CacheTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ public function getFromRelationshipsDataProviderValkey(): array
728728
$resultMasterOnlyConnection = [
729729
'frontend' => [
730730
'default' => [
731-
'backend' => 'Cm_Cache_Backend_Valkey',
731+
'backend' => 'Cm_Cache_Backend_Redis',
732732
'backend_options' => [
733733
'server' => 'master.host',
734734
'port' => 'master.port',
@@ -737,7 +737,7 @@ public function getFromRelationshipsDataProviderValkey(): array
737737
],
738738
],
739739
'page_cache' => [
740-
'backend' => 'Cm_Cache_Backend_Valkey',
740+
'backend' => 'Cm_Cache_Backend_Redis',
741741
'backend_options' => [
742742
'server' => 'master.host',
743743
'password' => 'master.password',
@@ -1150,7 +1150,7 @@ public function testEnvConfigurationMergingValkey(
11501150
],
11511151
[
11521152
DeployInterface::VAR_CACHE_VALKEY_BACKEND,
1153-
'Cm_Cache_Backend_Valkey',
1153+
'Cm_Cache_Backend_Redis',
11541154
],
11551155
]);
11561156
$this->valkeyMock->expects(self::any())
@@ -1183,7 +1183,7 @@ public function envConfigurationMergingDataProviderValkey(): array
11831183
$result = [
11841184
'frontend' => [
11851185
'default' => [
1186-
'backend' => 'Cm_Cache_Backend_Valkey',
1186+
'backend' => 'Cm_Cache_Backend_Redis',
11871187
'backend_options' => [
11881188
'server' => 'master.host',
11891189
'port' => 'master.port',
@@ -1192,7 +1192,7 @@ public function envConfigurationMergingDataProviderValkey(): array
11921192
],
11931193
],
11941194
'page_cache' => [
1195-
'backend' => 'Cm_Cache_Backend_Valkey',
1195+
'backend' => 'Cm_Cache_Backend_Redis',
11961196
'backend_options' => [
11971197
'server' => 'master.host',
11981198
'port' => 'master.port',

src/Test/Unit/Config/SchemaTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public function testGetDefaultsForDeploy(): void
124124
DeployInterface::VAR_CONSUMERS_WAIT_FOR_MAX_MESSAGES => false,
125125
DeployInterface::VAR_SPLIT_DB => [],
126126
DeployInterface::VAR_CACHE_REDIS_BACKEND => 'Cm_Cache_Backend_Redis',
127-
DeployInterface::VAR_CACHE_VALKEY_BACKEND => 'Cm_Cache_Backend_Valkey',
127+
DeployInterface::VAR_CACHE_VALKEY_BACKEND => 'Cm_Cache_Backend_Redis',
128128
DeployInterface::VAR_REMOTE_STORAGE => [],
129129
DeployInterface::VAR_SCD_NO_PARENT => false,
130130
DeployInterface::VAR_USE_LUA => false,

0 commit comments

Comments
 (0)