Skip to content

Commit 6002121

Browse files
committed
CE-33707: Fixed static-tests
1 parent 1776493 commit 6002121

File tree

4 files changed

+15
-17
lines changed

4 files changed

+15
-17
lines changed

lib/internal/Magento/Framework/App/Test/Unit/Config/Initial/ReaderTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function testConstructor(): void
9090

9191
/**
9292
* @return void
93-
* @covers Reader::read
93+
* @covers \Magento\Framework\App\Config\Initial\Reader::read
9494
*/
9595
public function testReadNoFiles(): void
9696
{
@@ -105,7 +105,7 @@ public function testReadNoFiles(): void
105105

106106
/**
107107
* @return void
108-
* @covers Reader::read
108+
* @covers \Magento\Framework\App\Config\Initial\Reader::read
109109
*/
110110
public function testReadValidConfig(): void
111111
{
@@ -152,7 +152,7 @@ function ($arguments) use ($validationStateMock) {
152152

153153
/**
154154
* @return void
155-
* @covers Reader::read
155+
* @covers \Magento\Framework\App\Config\Initial\Reader::read
156156
*/
157157
public function testReadInvalidConfig(): void
158158
{

lib/internal/Magento/Framework/App/Test/Unit/Response/HttpTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ public function testWakeUpWithException(): void
350350
* Test for the magic method __wakeup
351351
*
352352
* @return void
353-
* @covers Http::__wakeup
353+
* @covers \Magento\Framework\App\Response\Http::__wakeup
354354
*/
355355
public function testWakeUpWith(): void
356356
{

lib/internal/Magento/Framework/View/Test/Unit/Design/Theme/ImageTest.php

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,9 @@ protected function tearDown(): void
150150
}
151151

152152
/**
153-
* @return void
154-
*
155153
* @return MockObject|Path
156154
*/
157-
protected function _getImagePathMock(): \Magento\Theme\Model\Theme\Image\Path
155+
protected function _getImagePathMock(): Path
158156
{
159157
$imagePathMock = $this->createMock(Path::class);
160158
$testBaseUrl = 'http://localhost/media_path/';
@@ -193,7 +191,7 @@ protected function _getThemeSampleData(): array
193191
/**
194192
* @return void
195193
*
196-
* @covers Image::__construct
194+
* @covers \Magento\Framework\View\Design\Theme\Image::__construct
197195
*/
198196
public function testConstructor(): void
199197
{
@@ -203,7 +201,7 @@ public function testConstructor(): void
203201
/**
204202
* @return void
205203
*
206-
* @covers Image::createPreviewImage
204+
* @covers \Magento\Framework\View\Design\Theme\Image::createPreviewImage
207205
*/
208206
public function testCreatePreviewImage(): void
209207
{
@@ -223,7 +221,7 @@ public function testCreatePreviewImage(): void
223221
/**
224222
* @return void
225223
*
226-
* @covers Image::createPreviewImageCopy
224+
* @covers \Magento\Framework\View\Design\Theme\Image::createPreviewImageCopy
227225
*/
228226
public function testCreatePreviewImageCopy(): void
229227
{
@@ -270,7 +268,7 @@ public function testCreatePreviewImageCopy(): void
270268
/**
271269
* @return void
272270
*
273-
* @covers Image::removePreviewImage
271+
* @covers \Magento\Framework\View\Design\Theme\Image::removePreviewImage
274272
*/
275273
public function testRemovePreviewImage(): void
276274
{
@@ -283,7 +281,7 @@ public function testRemovePreviewImage(): void
283281
/**
284282
* @return void
285283
*
286-
* @covers Image::removePreviewImage
284+
* @covers \Magento\Framework\View\Design\Theme\Image::removePreviewImage
287285
*/
288286
public function testRemoveEmptyPreviewImage(): void
289287
{
@@ -296,7 +294,7 @@ public function testRemoveEmptyPreviewImage(): void
296294
/**
297295
* @return void
298296
*
299-
* @covers Image::uploadPreviewImage
297+
* @covers \Magento\Framework\View\Design\Theme\Image::uploadPreviewImage
300298
*/
301299
public function testUploadPreviewImage(): void
302300
{
@@ -325,7 +323,7 @@ public function testUploadPreviewImage(): void
325323
/**
326324
* @return void
327325
*
328-
* @covers Image::getPreviewImageUrl
326+
* @covers \Magento\Framework\View\Design\Theme\Image::getPreviewImageUrl
329327
*/
330328
public function testGetPreviewImageUrl(): void
331329
{
@@ -342,7 +340,7 @@ public function testGetPreviewImageUrl(): void
342340
/**
343341
* @return void
344342
*
345-
* @covers Image::getPreviewImageUrl
343+
* @covers \Magento\Framework\View\Design\Theme\Image::getPreviewImageUrl
346344
*/
347345
public function testGetDefaultPreviewImageUrl(): void
348346
{

lib/internal/Magento/Framework/View/Test/Unit/Layout/BuilderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
use PHPUnit\Framework\TestCase;
1818

1919
/**
20-
* @covers Builder
20+
* @covers \Magento\Framework\View\Layout\Builder
2121
*/
2222
class BuilderTest extends TestCase
2323
{
@@ -26,7 +26,7 @@ class BuilderTest extends TestCase
2626
/**
2727
* @return void
2828
*
29-
* @covers Builder::build()
29+
* @covers \Magento\Framework\View\Layout\Builder::build()
3030
*/
3131
public function testBuild(): void
3232
{

0 commit comments

Comments
 (0)