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)
9797 */
9898 public function getOptions ()
9999 {
100- $ a = \Magento \Framework \Cache \Backend \Redis::class;
101100 return [
102101 new SelectConfigOption (
103102 self ::INPUT_KEY_CACHE_BACKEND ,
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ public function testCreateConfigCacheRedis()
9999 'cache ' => [
100100 'frontend ' => [
101101 'default ' => [
102- 'backend ' => '\\ Magento \\ Framework \\ Cache \\ Backend\Redis ' ,
102+ 'backend ' => \ Magento \Framework \Cache \Backend \Redis::class ,
103103 'backend_options ' => [
104104 'server ' => '' ,
105105 'port ' => '' ,
@@ -130,7 +130,7 @@ public function testCreateConfigWithRedisConfig()
130130 'cache ' => [
131131 'frontend ' => [
132132 'default ' => [
133- 'backend ' => '\\ Magento \\ Framework \\ Cache \\ Backend\Redis ' ,
133+ 'backend ' => \ Magento \Framework \Cache \Backend \Redis::class ,
134134 'backend_options ' => [
135135 'server ' => 'localhost ' ,
136136 'port ' => '1234 ' ,
Original file line number Diff line number Diff line change @@ -91,9 +91,9 @@ public function testCreateConfigWithRedis()
9191 'cache ' => [
9292 'frontend ' => [
9393 'page_cache ' => [
94- 'backend ' => '\\ Magento \\ Framework \\ Cache \\ Backend\Redis ' ,
94+ 'backend ' => \ Magento \Framework \Cache \Backend \Redis::class ,
9595 'backend_options ' => [
96- 'server ' => '' ,
96+ 'server ' => '' ,
9797 'port ' => '' ,
9898 'database ' => '' ,
9999 'compress_data ' => '' ,
@@ -120,7 +120,7 @@ public function testCreateConfigWithRedisConfiguration()
120120 'cache ' => [
121121 'frontend ' => [
122122 'page_cache ' => [
123- 'backend ' => '\\ Magento \\ Framework \\ Cache \\ Backend\Redis ' ,
123+ 'backend ' => \ Magento \Framework \Cache \Backend \Redis::class ,
124124 'backend_options ' => [
125125 'server ' => 'foo.bar ' ,
126126 'port ' => '9000 ' ,
You can’t perform that action at this time.
0 commit comments