Skip to content

Commit f564e91

Browse files
committed
Use @magentoAdminConfigFixture
This is an attempt to make the test case compatible with Magento < 2.4
1 parent ee2569e commit f564e91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/GenerateRewriteMapsCronTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ protected function setUp(): void
3838

3939
/**
4040
* @magentoAppArea crontab
41-
* @magentoConfigFixture catalog/seo/rewrite_maps_generation_enabled 1
41+
* @magentoAdminConfigFixture catalog/seo/rewrite_maps_generation_enabled 1
4242
* @test
4343
*/
4444
public function runs_if_configured()
@@ -49,7 +49,7 @@ public function runs_if_configured()
4949

5050
/**
5151
* @magentoAppArea crontab
52-
* @magentoConfigFixture catalog/seo/rewrite_maps_generation_enabled 0
52+
* @magentoAdminConfigFixture catalog/seo/rewrite_maps_generation_enabled 0
5353
* @test
5454
*/
5555
public function does_not_run_if_not_configured()

0 commit comments

Comments
 (0)