File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed
Test/Unit/Model/ConfigOptionsList Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,6 @@ public function __construct(RedisConnectionValidator $redisValidator)
97
97
*/
98
98
public function getOptions ()
99
99
{
100
- $ a = \Magento \Framework \Cache \Backend \Redis::class;
101
100
return [
102
101
new SelectConfigOption (
103
102
self ::INPUT_KEY_CACHE_BACKEND ,
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ public function testCreateConfigCacheRedis()
99
99
'cache ' => [
100
100
'frontend ' => [
101
101
'default ' => [
102
- 'backend ' => '\\ Magento \\ Framework \\ Cache \\ Backend\Redis ' ,
102
+ 'backend ' => \ Magento \Framework \Cache \Backend \Redis::class ,
103
103
'backend_options ' => [
104
104
'server ' => '' ,
105
105
'port ' => '' ,
@@ -130,7 +130,7 @@ public function testCreateConfigWithRedisConfig()
130
130
'cache ' => [
131
131
'frontend ' => [
132
132
'default ' => [
133
- 'backend ' => '\\ Magento \\ Framework \\ Cache \\ Backend\Redis ' ,
133
+ 'backend ' => \ Magento \Framework \Cache \Backend \Redis::class ,
134
134
'backend_options ' => [
135
135
'server ' => 'localhost ' ,
136
136
'port ' => '1234 ' ,
Original file line number Diff line number Diff line change @@ -91,9 +91,9 @@ public function testCreateConfigWithRedis()
91
91
'cache ' => [
92
92
'frontend ' => [
93
93
'page_cache ' => [
94
- 'backend ' => '\\ Magento \\ Framework \\ Cache \\ Backend\Redis ' ,
94
+ 'backend ' => \ Magento \Framework \Cache \Backend \Redis::class ,
95
95
'backend_options ' => [
96
- 'server ' => '' ,
96
+ 'server ' => '' ,
97
97
'port ' => '' ,
98
98
'database ' => '' ,
99
99
'compress_data ' => '' ,
@@ -120,7 +120,7 @@ public function testCreateConfigWithRedisConfiguration()
120
120
'cache ' => [
121
121
'frontend ' => [
122
122
'page_cache ' => [
123
- 'backend ' => '\\ Magento \\ Framework \\ Cache \\ Backend\Redis ' ,
123
+ 'backend ' => \ Magento \Framework \Cache \Backend \Redis::class ,
124
124
'backend_options ' => [
125
125
'server ' => 'foo.bar ' ,
126
126
'port ' => '9000 ' ,
You can’t perform that action at this time.
0 commit comments