From a13d0f2962106edfa868b6803e190430960316a0 Mon Sep 17 00:00:00 2001 From: Dale Sikkema <dsikkema@ebay.com> Date: Mon, 19 Oct 2015 16:42:52 -0500 Subject: [PATCH] MAGETWO-44154: Random PAT build failures due to 400/503 HTTP response errors being thrown - style fixe --- .../Framework/Code/Test/Unit/Generator/IoTest.php | 1 + .../Framework/Code/Test/Unit/GeneratorTest.php | 11 ++--------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/lib/internal/Magento/Framework/Code/Test/Unit/Generator/IoTest.php b/lib/internal/Magento/Framework/Code/Test/Unit/Generator/IoTest.php index 0bbeaec11a1..d15295f9fef 100644 --- a/lib/internal/Magento/Framework/Code/Test/Unit/Generator/IoTest.php +++ b/lib/internal/Magento/Framework/Code/Test/Unit/Generator/IoTest.php @@ -39,6 +39,7 @@ class IoTest extends \PHPUnit_Framework_TestCase /** @var string */ protected $existingFile; + /** @var string */ protected $nonExistingFile; diff --git a/lib/internal/Magento/Framework/Code/Test/Unit/GeneratorTest.php b/lib/internal/Magento/Framework/Code/Test/Unit/GeneratorTest.php index c418cb713b7..c53a0973b00 100644 --- a/lib/internal/Magento/Framework/Code/Test/Unit/GeneratorTest.php +++ b/lib/internal/Magento/Framework/Code/Test/Unit/GeneratorTest.php @@ -31,15 +31,13 @@ class GeneratorTest extends \PHPUnit_Framework_TestCase ]; /** - * Model under test + * System under test * * @var \Magento\Framework\Code\Generator */ protected $model; - /** - * @var \PHPUnit_Framework_MockObject_MockObject|Io - */ + /** @var \PHPUnit_Framework_MockObject_MockObject|Io */ protected $ioObjectMock; /** @var \Magento\Framework\Code\Generator\DefinedClasses | \PHPUnit_Framework_MockObject_MockObject */ @@ -62,11 +60,6 @@ class GeneratorTest extends \PHPUnit_Framework_TestCase ); } - protected function tearDown() - { - unset($this->model); - } - public function testGetGeneratedEntities() { $this->model = $this->buildModel( -- GitLab