This repository was archived by the owner on Oct 24, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
tests/integration/Project Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1414use Commercetools \Core \Request \Project \Command \ProjectChangeCurrenciesAction ;
1515use Commercetools \Core \Request \Project \Command \ProjectChangeLanguagesAction ;
1616use Commercetools \Core \Request \Project \Command \ProjectChangeMessagesConfigurationAction ;
17+ use Commercetools \Core \Request \Project \Command \ProjectChangeProductSearchIndexingEnabledAction ;
1718use Commercetools \Core \Request \Project \Command \ProjectSetShippingRateInputTypeAction ;
1819use Commercetools \Core \Request \Project \ProjectGetRequest ;
1920use Commercetools \Core \Request \Project \ProjectUpdateRequest ;
@@ -60,6 +61,10 @@ final public static function setupProject(ApiClient $client)
6061 $ request ->addAction (ProjectChangeCountryTaxRateFallbackEnabledAction::ofCountryTaxRateFallbackEnabled (false ));
6162 }
6263
64+ if ($ project ->getSearchIndexing () === null ) {
65+ $ request ->addAction (ProjectChangeProductSearchIndexingEnabledAction::ofEnabled (false ));
66+ }
67+
6368 if ($ request ->hasActions ()) {
6469 $ response = $ client ->execute ($ request );
6570 $ project = $ request ->mapFromResponse ($ response );
Original file line number Diff line number Diff line change @@ -473,7 +473,6 @@ function (Project $project) use ($client) {
473473
474474 public function testChangeProductSearchIndexingEnabled ()
475475 {
476- $ this ->markTestSkipped ("disabled " );
477476 $ client = $ this ->getApiClient ();
478477
479478 ProjectFixture::withProject (
You can’t perform that action at this time.
0 commit comments