File tree Expand file tree Collapse file tree 1 file changed +5
-13
lines changed
lib/internal/Magento/Framework/GraphQl/Test/Unit/Query Expand file tree Collapse file tree 1 file changed +5
-13
lines changed Original file line number Diff line number Diff line change @@ -81,9 +81,6 @@ class EnumLookupTest extends TestCase
8181 */
8282 private $ values = [];
8383
84- /**
85- * @inheritDoc
86- */
8784 protected function setUp (): void
8885 {
8986 $ this ->objectManager = new ObjectManager ($ this );
@@ -114,16 +111,11 @@ protected function setUp(): void
114111 )
115112 ->getMock ();
116113
117- $ this ->enumDataMapperMock = $ this ->getMockForAbstractClass (DataMapperInterface::class);
118-
119- $ this ->configDataMock = $ this ->getMockBuilder (DataInterface::class)
120- ->getMock ();
121- $ this ->configElementFactoryMock = $ this ->getMockBuilder (ConfigElementFactoryInterface::class)
122- ->getMock ();
123- $ this ->queryFieldsMock = $ this ->getMockBuilder (QueryFields::class)
124- ->getMock ();
125-
126- $ this ->typeConfigMock = $ this ->getMockForAbstractClass (ConfigInterface::class);
114+ $ this ->enumDataMapperMock = $ this ->createMock (DataMapperInterface::class);
115+ $ this ->configDataMock = $ this ->createMock (DataInterface::class);
116+ $ this ->configElementFactoryMock = $ this ->createMock (ConfigElementFactoryInterface::class);
117+ $ this ->queryFieldsMock = $ this ->createMock (QueryFields::class);
118+ $ this ->typeConfigMock = $ this ->createMock (ConfigInterface::class);
127119
128120 $ this ->enumLookup = $ this ->objectManager ->getObject (
129121 EnumLookup::class,
You can’t perform that action at this time.
0 commit comments