magento / catalog-storefront

Open Software License 3.0
7 stars 18 forks source link

Web-Api testQueryUidForGiftCardAmounts test failed #246

Open le0n4ik opened 4 years ago

le0n4ik commented 4 years ago

Preconditions (*)

Install catalog-storefront-ee

Steps to reproduce (*)

Run \Magento\GiftCard\Options\Uid\GiftCardAmountsUidTest::testQueryUidForGiftCardAmounts test It's failed with error:

Failed asserting that a NULL is not empty.

#0 /var/www/html/vendor/phpunit/phpunit/src/Framework/Constraint/LogicalNot.php(111): PHPUnit\Framework\Constraint\Constraint->fail()
#1 /var/www/html/vendor/phpunit/phpunit/src/Framework/Assert.php(2228): PHPUnit\Framework\Constraint\LogicalNot->evaluate()
#2 /var/www/html/vendor/phpunit/phpunit/src/Framework/Assert.php(425): PHPUnit\Framework\Assert::assertThat()
#3 /var/www/html/dev/tests/api-functional/testsuite/Magento/GiftCard/Options/Uid/GiftCardAmountsUidTest.php(27): PHPUnit\Framework\Assert::assertNotEmpty()
#4 /var/www/html/vendor/phpunit/phpunit/src/Framework/TestCase.php(1414): Magento\GiftCard\Options\Uid\GiftCardAmountsUidTest->testQueryUidForGiftCardAmounts()
#5 /var/www/html/vendor/phpunit/phpunit/src/Framework/TestCase.php(1031): PHPUnit\Framework\TestCase->runTest()
#6 /var/www/html/vendor/phpunit/phpunit/src/Framework/TestResult.php(688): PHPUnit\Framework\TestCase->runBare()
#7 /var/www/html/vendor/phpunit/phpunit/src/Framework/TestCase.php(772): PHPUnit\Framework\TestResult->run()
#8 /var/www/html/vendor/phpunit/phpunit/src/Framework/TestSuite.php(639): PHPUnit\Framework\TestCase->run()
#9 /var/www/html/vendor/phpunit/phpunit/src/Framework/TestSuite.php(639): PHPUnit\Framework\TestSuite->run()
#10 /var/www/html/vendor/phpunit/phpunit/src/Framework/TestSuite.php(639): PHPUnit\Framework\TestSuite->run()
#11 /var/www/html/vendor/phpunit/phpunit/src/Framework/TestSuite.php(639): PHPUnit\Framework\TestSuite->run()
#12 /var/www/html/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(653): PHPUnit\Framework\TestSuite->run()
#13 /var/www/html/vendor/phpunit/phpunit/src/TextUI/Command.php(108): PHPUnit\TextUI\TestRunner->run()
#14 /var/www/html/vendor/phpunit/phpunit/src/TextUI/Command.php(68): PHPUnit\TextUI\Command->run()
#15 /var/www

Remove test class override after fix

m2-assistant[bot] commented 4 years ago

Hi @le0n4ik. Thank you for your report. To help us process this issue please make sure that you provided sufficient information.

Please, add a comment to assign the issue: @magento I am working on this