Skip to content

Commit ce6dee1

Browse files
committed
Correct options ordering in assertions
1 parent eb213d8 commit ce6dee1

File tree

1 file changed

+6
-6
lines changed
  • setup/src/Magento/Setup/Test/Unit/Model/ConfigOptionsList

1 file changed

+6
-6
lines changed

setup/src/Magento/Setup/Test/Unit/Model/ConfigOptionsList/CacheTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,16 @@ public function testGetOptions()
6868
$this->assertEquals('cache-backend-redis-password', $options[4]->getName());
6969

7070
$this->assertArrayHasKey(5, $options);
71-
$this->assertInstanceOf(TextConfigOption::class, $options[6]);
72-
$this->assertEquals('cache-backend-redis-compress-data', $options[6]->getName());
71+
$this->assertInstanceOf(TextConfigOption::class, $options[5]);
72+
$this->assertEquals('cache-backend-redis-compress-data', $options[5]->getName());
7373

7474
$this->assertArrayHasKey(6, $options);
75-
$this->assertInstanceOf(TextConfigOption::class, $options[7]);
76-
$this->assertEquals('cache-backend-redis-compression-lib', $options[7]->getName());
75+
$this->assertInstanceOf(TextConfigOption::class, $options[6]);
76+
$this->assertEquals('cache-backend-redis-compression-lib', $options[6]->getName());
7777

7878
$this->assertArrayHasKey(7, $options);
79-
$this->assertInstanceOf(TextConfigOption::class, $options[5]);
80-
$this->assertEquals('cache-id-prefix', $options[5]->getName());
79+
$this->assertInstanceOf(TextConfigOption::class, $options[7]);
80+
$this->assertEquals('cache-id-prefix', $options[7]->getName());
8181

8282
}
8383

0 commit comments

Comments
 (0)