Skip to content

Commit efb637b

Browse files
committed
MAGETWO-33622: Junior+ Developer Workflow
- fixed integrity test
1 parent 5b22753 commit efb637b

File tree

3 files changed

+5
-3
lines changed
  • dev/tests/unit/testsuite/Magento/Framework/App/View/Asset/MaterializationStrategy
  • lib/internal/Magento/Framework

3 files changed

+5
-3
lines changed

dev/tests/unit/testsuite/Magento/Framework/App/View/Asset/MaterializationStrategy/FactoryTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,12 @@ public function testCreateException()
8686

8787
$factory = new Factory($this->objectManager, []);
8888

89-
$this->setExpectedException('LogicException', __('No materialization strategy is supported'));
89+
$this->setExpectedException('LogicException', 'No materialization strategy is supported');
9090
$factory->create($asset);
9191
}
9292

9393
/**
94-
* @return Asset\LocalInterface|\PHPUnit_Framework_MockObject_MockObject
94+
* @return Asset\LocalInterface | \PHPUnit_Framework_MockObject_MockObject
9595
*/
9696
private function getAsset()
9797
{

lib/internal/Magento/Framework/App/View/Asset/MaterializationStrategy/Factory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,6 @@ public function create(Asset\LocalInterface $asset)
6060
}
6161
}
6262

63-
throw new \LogicException(__('No materialization strategy is supported'));
63+
throw new \LogicException('No materialization strategy is supported');
6464
}
6565
}

lib/internal/Magento/Framework/View/Page/Config/Renderer.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
/**
1313
* Page config Renderer model
14+
*
15+
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
1416
*/
1517
class Renderer
1618
{

0 commit comments

Comments
 (0)