Skip to content

Commit bf53889

Browse files
committed
updated test
1 parent cb12560 commit bf53889

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

tests/unit/Mage/Core/Model/LayoutTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public function provideGetBlockSingleton(): Generator
9696
$ignoredClasses = array_merge(
9797
$this->getAbstractBlockClasses(),
9898
$this->getBlockClassesToMock(),
99-
#$this->getBlockClassesWithErrors(),
99+
$this->getBlockClassesWithErrors(),
100100
$this->getBlockClassesWithSessions(),
101101
);
102102

tests/unit/Traits/PhpStormMetaData/BlocksTrait.php

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1503,17 +1503,26 @@ public function getBlockClassesWithErrors(): array
15031503
{
15041504
# exeption thrown ... check
15051505
return [
1506+
# Error: Call to undefined method Mage_Api_Model_Resource_Roles_User_Collection::setUserFilter()
15061507
\Mage_Adminhtml_Block_Api_Tab_Userroles::class,
1508+
# ArgumentCountError: Too few arguments to function Varien_Data_Form_Element_Image::__construct(), 0 passed
15071509
\Mage_Adminhtml_Block_Catalog_Category_Helper_Image::class,
1510+
#ArgumentCountError: Too few arguments to function Varien_Data_Form_Element_Image::__construct(), 0 passed
15081511
\Mage_Adminhtml_Block_Catalog_Product_Helper_Form_Image::class,
1512+
# include(/var/www/html/app/design/frontend/base/default/template/dashboard/graph.phtml): failed to open stream: No such file or directory
15091513
\Mage_Adminhtml_Block_Dashboard::class,
1514+
# include(/var/www/html/app/design/frontend/base/default/template/dashboard/graph.phtml): failed to open stream: No such file or directory
15101515
\Mage_Adminhtml_Block_Dashboard_Diagrams::class,
1516+
# Error: Class 'Mage__Helper_Data' not found
15111517
\Mage_Adminhtml_Block_Dashboard_Graph::class,
1518+
# Error: Call to undefined method Mage_Admin_Model_Resource_Roles_User_Collection::setUserFilter()
15121519
\Mage_Adminhtml_Block_Permissions_Tab_Userroles::class,
1520+
# ArgumentCountError: Too few arguments to function Varien_Data_Form_Element_Image::__construct(), 0 passed
15131521
\Mage_Adminhtml_Block_System_Config_Form_Field_Image::class,
1522+
# ArgumentCountError: Too few arguments to function Mage_Adminhtml_Block_System_Config_Form_Field_Import::__construct(), 0 passed
15141523
\Mage_Adminhtml_Block_System_Config_Form_Field_Import::class,
1524+
# Exception: Unknown user type.
15151525
\Mage_Api2_Block_Adminhtml_Attribute_Tab_Resource::class,
1516-
\Mage_Checkout_Block_Multishipping_Payment_Info::class,
15171526
];
15181527
}
15191528

@@ -1653,6 +1662,7 @@ public function getBlockClassesWithSessions(): array
16531662
\Mage_CatalogSearch_Block_Layer::class,
16541663
\Mage_Catalog_Block_Layer_View::class,
16551664
\Mage_Checkout_Block_Multishipping_Billing::class,
1665+
\Mage_Checkout_Block_Multishipping_Payment_Info::class,
16561666
\Mage_Checkout_Block_Onepage_Billing::class,
16571667
\Mage_Checkout_Block_Onepage_Login::class,
16581668
\Mage_Checkout_Block_Onepage_Payment::class,

0 commit comments

Comments
 (0)