Skip to content
Snippets Groups Projects
Commit d1ae1d96 authored by Dale Sikkema's avatar Dale Sikkema
Browse files

MAGETWO-44154: Random PAT build failures due to 400/503 HTTP response errors being thrown

 - static test fix
parent f37a26c9
Branches
No related merge requests found
......@@ -95,7 +95,9 @@ class GeneratorTest extends \PHPUnit_Framework_TestCase
// This test is only valid if the factory created the object if Autoloader did not pick it up automatically
if (\Magento\Framework\Code\Generator::GENERATION_SUCCESS == $generatorResult) {
$content = $this->_clearDocBlock(
file_get_contents($this->_ioObject->generateResultFileName(self::CLASS_NAME_WITH_NAMESPACE . 'Factory'))
file_get_contents(
$this->_ioObject->generateResultFileName(self::CLASS_NAME_WITH_NAMESPACE . 'Factory')
)
);
$expectedContent = $this->_clearDocBlock(
file_get_contents(__DIR__ . '/_expected/SourceClassWithNamespaceFactory.php.sample')
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment