File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
MediaGallery/Test/Unit/Model/ResourceModel Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ protected function setUp(): void
5050 {
5151 $ logger = $ this ->createMock (LoggerInterface::class);
5252 $ resourceConnection = $ this ->createMock (ResourceConnection::class);
53- $ this ->assetInterfaceFactory = $ this ->createMock (AssetInterfaceFactory::class); // @phpstan-ignore-line
53+ $ this ->assetInterfaceFactory = $ this ->createMock (AssetInterfaceFactory::class);
5454
5555 $ this ->getAssetsByPaths = new GetAssetsByPaths (
5656 $ resourceConnection ,
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ protected function setUp(): void
9494 {
9595 $ this ->configMock = $ this ->createMock (Config::class);
9696 $ this ->sync = $ this ->createMock (Synchronization::class);
97- $ this ->configFactoryMock = $ this ->createPartialMock (ConfigFactory::class, ['create ' ]); // @phpstan-ignore-line
97+ $ this ->configFactoryMock = $ this ->createPartialMock (ConfigFactory::class, ['create ' ]);
9898 $ this ->responseMock = $ this ->createMock (Response::class);
9999 $ this ->syncFactoryMock = $ this ->createPartialMock (SynchronizationFactory::class, ['create ' ]);
100100 $ this ->filesystemMock = $ this ->createMock (Filesystem::class);
@@ -271,7 +271,7 @@ protected function createMediaModel(bool $isAllowed = true): Media
271271 $ driverFile ->method ('getRealPath ' )->willReturn ('' );
272272 $ placeholder = $ this ->createMock (Placeholder::class);
273273 $ placeholder ->method ('getRelativePath ' )->willReturn (self ::RELATIVE_FILE_PATH );
274- $ placeholderFactory = $ this ->createMock (PlaceholderFactory::class); // @phpstan-ignore-line
274+ $ placeholderFactory = $ this ->createMock (PlaceholderFactory::class);
275275 $ placeholderFactory ->method ('create ' )
276276 ->willReturn ($ placeholder );
277277
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ class DatabaseTest extends TestCase
5252 protected function setUp (): void
5353 {
5454 $ this ->dbStorageFactoryMock = $ this ->createPartialMock (
55- DatabaseFactory::class, // @phpstan-ignore-line
55+ DatabaseFactory::class,
5656 ['create ' ]
5757 );
5858 $ this ->objectManager = new ObjectManager ($ this );
You can’t perform that action at this time.
0 commit comments