Skip to content

Commit d1ae1d9

Browse files
author
Dale Sikkema
committed
MAGETWO-44154: Random PAT build failures due to 400/503 HTTP response errors being thrown
- static test fix
1 parent f37a26c commit d1ae1d9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dev/tests/integration/testsuite/Magento/Framework/Code/GeneratorTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,9 @@ public function testGenerateClassFactoryWithNamespace()
9595
// This test is only valid if the factory created the object if Autoloader did not pick it up automatically
9696
if (\Magento\Framework\Code\Generator::GENERATION_SUCCESS == $generatorResult) {
9797
$content = $this->_clearDocBlock(
98-
file_get_contents($this->_ioObject->generateResultFileName(self::CLASS_NAME_WITH_NAMESPACE . 'Factory'))
98+
file_get_contents(
99+
$this->_ioObject->generateResultFileName(self::CLASS_NAME_WITH_NAMESPACE . 'Factory')
100+
)
99101
);
100102
$expectedContent = $this->_clearDocBlock(
101103
file_get_contents(__DIR__ . '/_expected/SourceClassWithNamespaceFactory.php.sample')

0 commit comments

Comments
 (0)