Skip to content

Commit d0495a9

Browse files
authored
Merge pull request #308 from magento-falcons/MAGETWO-57826
Bug Fixes: MAGETWO-56530: Magento\ConfigurableImportExport\Model\ConfigurableTest::testImportReplace integration test fail MAGETWO-53549: [Github][PR] Replace fabpot/php-cs-fixer with friendsofphp/php-cs-fixer
2 parents c869e6f + a97eb09 commit d0495a9

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

app/code/Magento/ImportExport/Model/Export/Entity/AbstractEntity.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -544,4 +544,12 @@ public function setWriter(AbstractAdapter $writer)
544544

545545
return $this;
546546
}
547+
548+
/**
549+
* Clean cached values
550+
*/
551+
public function __destruct()
552+
{
553+
self::$attrCodes = null;
554+
}
547555
}

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"squizlabs/php_codesniffer": "1.5.3",
7474
"phpmd/phpmd": "@stable",
7575
"pdepend/pdepend": "2.2.2",
76-
"fabpot/php-cs-fixer": "~1.2",
76+
"friendsofphp/php-cs-fixer": "~1.2",
7777
"lusitanian/oauth": "~0.3 <=0.7.0",
7878
"sebastian/phpcpd": "2.0.0"
7979
},

composer.lock

Lines changed: 3 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dev/tests/integration/testsuite/Magento/ConfigurableImportExport/Model/ConfigurableTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ public function importReplaceDataProvider()
107107
*/
108108
public function testImportReplace($fixtures, $skus, $skippedAttributes = [])
109109
{
110-
$this->markTestSkipped('MAGETWO-56530');
111110
parent::testImportReplace($fixtures, $skus, $skippedAttributes);
112111
}
113112
}

0 commit comments

Comments
 (0)