skip to Main Content

Magento – magneto 2 installtion error on composer install

While installing magento 2.4.4 i got an issue like Install of laminas/laminas-dependency-plugin failed [RuntimeException] Failed to execute git checkout '73cfb63ddca9d6bfedad5e0a038f6d55063975a3' -- && git reset --hard '73cfb63ddca9d6bfedad5e0a038f6d55063975a3' -- fatal: reference is not a tree: 73cfb63ddca9d6bfedad5e0a038f6d55063975a3 anybody faced this issue,or anyone give…

VIEW QUESTION

Magento2 unit test error "Error: Call to a member function getDirectoryWrite() on null"

Magento2 unit test for block file for admin grid extending MagentoBackendBlockWidgetGridExtended is giving error "Error: Call to a member function getDirectoryWrite() on null" added below mocks, still error continues. $this->_filesystem = $this->createMock(Filesystem::class); $this->_directory = $this->createMock(DirectoryWrite::class); $this->_filesystem->method('getDirectoryWrite')->willReturn($this->_directory); Can anyone help here?

VIEW QUESTION
Back To Top
Search