File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/code/Magento/CustomerGraphQl/Test/Unit/Model/Resolver Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -98,17 +98,17 @@ protected function setUp(): void
98
98
99
99
$ this ->contextExtensionMock = $ this ->getMockBuilder (ContextExtensionInterface::class)
100
100
->disableOriginalConstructor ()
101
- ->onlyMethods (['getStore ' ])
101
+ ->setMethods (['getStore ' ])
102
102
->getMockForAbstractClass ();
103
103
104
104
$ this ->customerMock = $ this ->getMockBuilder (CustomerInterface::class)
105
105
->disableOriginalConstructor ()
106
- ->onlyMethods (['getId ' ])
106
+ ->setMethods (['getId ' ])
107
107
->getMockForAbstractClass ();
108
108
109
109
$ this ->storeMock = $ this ->getMockBuilder (StoreInterface::class)
110
110
->disableOriginalConstructor ()
111
- ->onlyMethods (['getWebsiteId ' ])
111
+ ->setMethods (['getWebsiteId ' ])
112
112
->getMockForAbstractClass ();
113
113
114
114
$ this ->fieldMock = $ this ->getMockBuilder (Field::class)
You can’t perform that action at this time.
0 commit comments