File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
lib/internal/Magento/Framework/View/Test/Unit/Element Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,10 @@ protected function setUp()
65
65
$ this ->eventManagerMock = $ this ->getMockForAbstractClass (EventManagerInterface::class);
66
66
$ this ->scopeConfigMock = $ this ->getMockForAbstractClass (ScopeConfigInterface::class);
67
67
$ this ->cacheStateMock = $ this ->getMockForAbstractClass (CacheStateInterface::class);
68
- $ this ->lockQuery = $ this ->getMockForAbstractClass (LockGuardedCacheLoader::class);
68
+ $ this ->lockQuery = $ this ->getMockBuilder (LockGuardedCacheLoader::class)
69
+ ->disableOriginalConstructor ()
70
+ ->setMethods (['lockedLoadData ' ])
71
+ ->getMockForAbstractClass ();
69
72
$ this ->sidResolverMock = $ this ->getMockForAbstractClass (SidResolverInterface::class);
70
73
$ this ->sessionMock = $ this ->getMockForAbstractClass (SessionManagerInterface::class);
71
74
$ contextMock = $ this ->createMock (Context::class);
You can’t perform that action at this time.
0 commit comments