Skip to content

Commit 7bb6a48

Browse files
committed
MAGETWO-65736: Swatch attributes are not shown on category page
1 parent 53359db commit 7bb6a48

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

dev/tests/functional/lib/Magento/Mtf/Util/Command/Cli.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ public function execute($command, $options = [])
5858
*/
5959
private function prepareUrl($command, $options = [])
6060
{
61-
$command .= ' ' . implode(' ', $options);
61+
if ($options) {
62+
$command .= ' ' . implode(' ', $options);
63+
}
6264
return $_ENV['app_frontend_url'] . self::URL . '?command=' . urlencode($command);
6365
}
6466
}

dev/tests/functional/tests/app/Magento/Config/Test/TestStep/SetupConfigurationStep.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,12 @@ public function run()
9696
$config->persist();
9797
$result = array_replace_recursive($result, $config->getSection());
9898
}
99-
if ($this->flushCache) {
100-
$this->cache->flush();
101-
}
10299
}
100+
101+
if ($this->flushCache) {
102+
$this->cache->flush();
103+
}
104+
103105
$config = $this->fixtureFactory->createByCode('configData', ['data' => $result]);
104106

105107
return ['config' => $config];

0 commit comments

Comments
 (0)