Skip to content
Snippets Groups Projects
Commit 543fdc28 authored by Maithri  shetty's avatar Maithri shetty Committed by Steven Jones
Browse files

Issue #3035454 by Maithri Shetty, Steven Jones: Replace deprecated method...

Issue #3035454 by Maithri Shetty, Steven Jones: Replace deprecated method getMock calls with createMock
parent c1191520
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ class AdvDefTest extends BinaryTestCase {
$advdef = new AdvDef(['data' => $config], 'advdef', [], $loggerMock, $imageFactoryMock, $fileSystemMock, $shellOperationsMock);
$imagePNGMock = $this->createtMock('\Drupal\Core\Image\ImageInterface');
$imagePNGMock = $this->createMock('\Drupal\Core\Image\ImageInterface');
$imagePNGMock->method('getMimeType')->willReturn('image/png');
$imageFactoryMock->method('get')->willReturn($imagePNGMock);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment