Skip to content

Commit a6028b5

Browse files
committed
CICD-2390: Speed up L2 by run test in batch
1 parent c64d817 commit a6028b5

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

.php_cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ return Symfony\CS\Config\Config::create()
3333
'extra_empty_lines',
3434
'include',
3535
'join_function',
36-
'multiline_array_trailing_comma',
3736
'namespace_no_leading_whitespace',
3837
'new_with_braces',
3938
'object_operator',

dev/tests/integration/framework/Magento/TestFramework/Workaround/Cleanup/StaticProperties.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,7 @@ function ($classFile) {
162162
$namespacePattern = '/namespace [a-zA-Z0-9\\\\]+;/';
163163
$classPattern = '/\nclass [a-zA-Z0-9_]+/';
164164
foreach ($classFiles as $classFile) {
165-
$file = @fopen($classFile, 'r');
166-
$code = fread($file, 4096);
167-
fclose($file);
165+
$code = file_get_contents($classFile);
168166
preg_match($namespacePattern, $code, $namespace);
169167
preg_match($classPattern, $code, $class);
170168
if (!isset($namespace[0]) || !isset($class[0])) {

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

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

0 commit comments

Comments
 (0)