Closed
Description
There are a set of warnings during execution of the Unit tests.
Currently the warnings are not failing the build.
The goal is to execute the listed tests on local and ensure they are passing:
1) Magento\Customer\Test\Unit\Controller\Adminhtml\Group\SaveTest::testExecuteWithTaxClassAndException
Trying to configure method "setExcludeWebsiteIds" which cannot be configured because it does not exist, has not been specified, is final, or is static
2) Magento\Customer\Test\Unit\Model\Plugin\SaveCustomerGroupExcludedWebsiteTest::testAfterSaveWithoutExtensionAttributes
Trying to configure method "getExcludeWebsiteIds" which cannot be configured because it does not exist, has not been specified, is final, or is static
3) Magento\Customer\Test\Unit\Model\Plugin\SaveCustomerGroupExcludedWebsiteTest::testAfterSaveWithNoExcludedWebsitesChanged with data set #0 (array(), array())
Trying to configure method "getExcludeWebsiteIds" which cannot be configured because it does not exist, has not been specified, is final, or is static
4) Magento\Customer\Test\Unit\Model\Plugin\SaveCustomerGroupExcludedWebsiteTest::testAfterSaveWithNoExcludedWebsitesChanged with data set #1 (array('1', '2'), array(1, 2))
Trying to configure method "getExcludeWebsiteIds" which cannot be configured because it does not exist, has not been specified, is final, or is static
5) Magento\Customer\Test\Unit\Model\Plugin\SaveCustomerGroupExcludedWebsiteTest::testAfterSaveWithNoExcludedWebsitesChanged with data set #2 (array(1, 2), array(1, 2))
Trying to configure method "getExcludeWebsiteIds" which cannot be configured because it does not exist, has not been specified, is final, or is static
6) Magento\Customer\Test\Unit\Model\Plugin\SaveCustomerGroupExcludedWebsiteTest::testAfterSaveWithNoExcludedWebsitesChanged with data set #3 (array(1, 2), array('1', '2'))
Trying to configure method "getExcludeWebsiteIds" which cannot be configured because it does not exist, has not been specified, is final, or is static
7) Magento\Customer\Test\Unit\Model\Plugin\SaveCustomerGroupExcludedWebsiteTest::testAfterSaveWithNoExcludedWebsitesChanged with data set #4 (array('1', 2), array('2', 1))
Trying to configure method "getExcludeWebsiteIds" which cannot be configured because it does not exist, has not been specified, is final, or is static
8) Magento\Customer\Test\Unit\Model\Plugin\SaveCustomerGroupExcludedWebsiteTest::testAfterSaveWithNoExcludedWebsitesChanged with data set #5 (array('1', 2), array('2', 1, 3))
Trying to configure method "getExcludeWebsiteIds" which cannot be configured because it does not exist, has not been specified, is final, or is static
9) Magento\Customer\Test\Unit\Model\Plugin\SaveCustomerGroupExcludedWebsiteTest::testAfterSaveWithExcludedWebsitesChanged with data set #0 (array('2'), array(1, 2), 2)
Trying to configure method "getExcludeWebsiteIds" which cannot be configured because it does not exist, has not been specified, is final, or is static
10) Magento\Customer\Test\Unit\Model\Plugin\SaveCustomerGroupExcludedWebsiteTest::testAfterSaveWithExcludedWebsitesChanged with data set #1 (array(), array(1, 2), 2)
Trying to configure method "getExcludeWebsiteIds" which cannot be configured because it does not exist, has not been specified, is final, or is static
11) Magento\Customer\Test\Unit\Model\Plugin\SaveCustomerGroupExcludedWebsiteTest::testAfterSaveWithExcludedWebsitesChanged with data set #2 (array(2), array(1, 2), 2)
Trying to configure method "getExcludeWebsiteIds" which cannot be configured because it does not exist, has not been specified, is final, or is static
12) Magento\Customer\Test\Unit\Model\Plugin\SaveCustomerGroupExcludedWebsiteTest::testAfterSaveWithExcludedWebsitesChanged with data set #3 (array(1, 2), array(), 0)
Trying to configure method "getExcludeWebsiteIds" which cannot be configured because it does not exist, has not been specified, is final, or is static
13) Magento\Customer\Test\Unit\Model\Plugin\SaveCustomerGroupExcludedWebsiteTest::testAfterSaveWithExcludedWebsitesChanged with data set #4 (array(1, 2), array('1'), 1)
Trying to configure method "getExcludeWebsiteIds" which cannot be configured because it does not exist, has not been specified, is final, or is static
14) Magento\Customer\Test\Unit\Model\Plugin\SaveCustomerGroupExcludedWebsiteTest::testAfterSaveWithExcludedWebsitesChanged with data set #5 (array('1', 2, 3), array('2', 1), 2)
Trying to configure method "getExcludeWebsiteIds" which cannot be configured because it does not exist, has not been specified, is final, or is static
15) Magento\Customer\Test\Unit\Observer\CatalogRule\AddCustomerGroupExcludedWebsiteTest::testExecuteWithCustomerGroupExcludedWebsites
Trying to configure method "setExcludeWebsiteIds" which cannot be configured because it does not exist, has not been specified, is final, or is static
18) Magento\SharedCatalog\Test\Unit\Controller\Adminhtml\SharedCatalog\Configure\SaveTest::testExecuteWithExcludedWebsites
Trying to configure method "setExcludeWebsiteIds" which cannot be configured because it does not exist, has not been specified, is final, or is static
19) Magento\SharedCatalog\Test\Unit\Controller\Adminhtml\SharedCatalog\MassDeleteTest::testExecute
Method delete may not return value of type Mock_AbstractResource_929d32b7, its return declaration is "bool"
20) Magento\WeeeGraphQl\Test\Unit\Model\Resolver\FixedProductTaxResolverTest::testShouldReturnEmptyResult
Trying to configure method "getStore" which cannot be configured because it does not exist, has not been specified, is final, or is static
21) Magento\WeeeGraphQl\Test\Unit\Model\Resolver\FixedProductTaxResolverTest::testShouldReturnResult with data set #0 (1, array(array('FPT 2', array(0.5, 'USD')), array('FPT 1', array(1, 'USD')), array('FPT 2', array(1.5, 'USD'))))
Trying to configure method "getStore" which cannot be configured because it does not exist, has not been specified, is final, or is static
22) Magento\WeeeGraphQl\Test\Unit\Model\Resolver\FixedProductTaxResolverTest::testShouldReturnResult with data set #1 (2, array(array('FPT 2', array(0.55, 'USD')), array('FPT 1', array(1.1, 'USD')), array('FPT 2', array(1.65, 'USD'))))
Trying to configure method "getStore" which cannot be configured because it does not exist, has not been specified, is final, or is static
23) Magento\Wishlist\Test\Unit\Controller\Index\UpdateItemOptionsTest::testExecuteAddSuccessCriticalException
Method critical may not return value of type boolean, its return declaration is "void"