Commit Graph
29 Commits
Author SHA1 Message Date
Karyna 69508958da Fix phpcs issues that were false-positive 2021-10-15 15:21:55 +03:00
bohdan-harniuk fd875841e6 CE-33709: Changed method adding for the generated extensions types 2021-08-22 09:18:18 +03:00
bohdan-harniuk f34b76b605 CE-33709: Fixed errors after upgrade to PHPUnit v9.5.8 2021-08-13 12:32:21 +03:00
Viktor Rad 5b8ae5fa20 MC-42639: Payment error after session time out 2021-06-25 13:53:15 -05:00
engcom-Kilo 16629107cd MC-37364: Unit Test and JSUnit Test fails to start on Magento composer 2.4.0. Revert integration tests suites. Add correct exception class to unit tests. 2020-11-17 19:05:56 +02:00
engcom-Kilo 2c8b332a4c MC-37364: Unit Test and JSUnit Test fails to start on Magento composer 2.4.0 2020-11-12 14:18:15 +02:00
Serhii Balko 8d9fd5153c MC-37109: Session Cache Local Storage | Checkout Issue 2020-09-04 14:47:14 +03:00
Anton Evers 48f5a92a29 process code review comments 2020-07-27 09:55:28 +02:00
Anton Evers 86000cea24 repair \Magento\Captcha\Test\Unit\Model\Customer\Plugin\AjaxLoginTest
Data providers are executed before setUp.
In previous phpunit versions $this->formIds[0] would just convert to
null, explaining why the logAttempt method was never called.
Fixing this issue leads to different expectations of the test result in
testAroundExecuteCaptchaIsNotRequired. I have adjusted the necessary.

No need to test if this method returns nothing if the return type is
already void

Fix quote unit tests by explicitely declaring methods that are vital
to quote operations. I think it is better to declare these methods
explicitely than to depend on DataObject methods

Update extensionattribute mock

repair partial mock with non-existing method mocking

Revert "Fix quote unit tests by explicitely declaring methods that are vital"

This reverts commit e29506ce3b353d55cbe64d064e863c4969c3d6cd.

fix mock object with non existing method mocks

replace partial mocks with non-existing method mocking
2020-07-23 14:04:06 +02:00
Vasya Tsviklinskyi 27a1299b50 MC-23992: Exception occurs when attempting to unset persistence cookie after visiting checkout 2020-05-15 14:12:42 +03:00
Max Lesechko f05137902e MC-34039: Merge 2.4-develop into 2.4-develop-php74 2020-05-06 16:44:48 -05:00
Lukasz Bajsarowicz 00ed393927 #27500 PHPUnit9 for Persistent module 2020-04-22 23:00:55 +00:00
Lukasz Bajsarowicz 8dd4d8d521 #27500 Code Review adjustments to Persistent module 2020-04-11 08:03:36 +00:00
Lukasz Bajsarowicz 05873046ee #27500 Prepare Persistent module Tests for PHPUnit 8 2020-04-11 03:52:46 +00:00
Viktor Tymchynskyi aff179a240 MC-21756: Persistent Shopping Cart Issue
- Fix static
2019-10-16 12:30:04 -05:00
Viktor Tymchynskyi 0861a30771 MC-21756: Persistent Shopping Cart Issue
- Magento should process the order with the persistent information including tier pricing
2019-10-16 11:13:11 -05:00
Sachin Admane 551b89853b MAGETWO-95210: Unable to place orders as Guest after deleting PHPSESSID cookie value
Fix typo in test.
2018-10-15 16:48:23 -05:00
Sachin Admane c25ea8170a MAGETWO-95210: Unable to place orders as Guest after deleting PHPSESSID cookie value
Modify convertCustomerCartToGuest function to get quote Id from getter method.
2018-10-15 16:39:09 -05:00
Stanislav Idolov 672139276f MAGETWO-83893: Eliminate @codingStandardsIgnoreFile annotation from codebase 2017-11-15 12:13:10 +02:00
Robert He b0e60f77e9 MAGETWO-69137: upgrading Magento2 Project PHPUnit version to latest 2017-07-13 11:21:33 -05:00
Eric Bohanon 8db59122f4 MAGETWO-63174: Incorrect Guest Checkout behavior with persistence. 2017-06-05 16:54:41 -05:00
Oleksii Korshenko 231709b4ac MAGETWO-66875: Remove the copyright year from file headers #8648 2017-03-29 19:37:54 +03:00
Oleksii Korshenko 1b5dc60a26 MAGETWO-66875: Remove the copyright year from file headers #8648 2017-03-29 04:48:40 +03:00
Vlad Veselov 749518c351 [PSR-2 Compliance] Fix #8612: Hundreds of PHPCS-based static tests violations in mainline
- apply automatic PHP-CS-FIXER fixes to make PHPCS happy
- Step 0. Install php-cs-fixer globally: composer global require friendsofphp/php-cs-fixer:2.1.0
- Step 1. Remove outdated php-cs-fixer config: rm .php_cs
- Step 2. Execute tool: ~/.composer/vendor/friendsofphp/php-cs-fixer/php-cs-fixer fix . --rules=no_extra_consecutive_blank_lines,method_separation -v
- Step 3. Reset changed fixture file to not break related unit test: git checkout HEAD -- lib/internal/Magento/Framework/Code/Test/Unit/_files/app/code/Magento/SomeModule/Model/SevenInterface.php
- Step 4. Restore outdated php-cs-fixer config: git checkout HEAD -- .php_cs
2017-03-11 13:32:36 +02:00
Sergii Kovalenko eb30343a09 MAGETWO-62855: Copyright Year Update 2017 2017-01-05 13:01:45 +02:00
Stanislav Idolov 8e922431eb MAGETWO-51858: Convert literal class names to \Namespace\Classname::class 2016-04-29 12:29:20 +03:00
Joan He 2d368d0134 MAGETWO-48081: Copyright Year Update 2016-03-17 15:49:11 -05:00
Stanislav Idolov 4e1281fef1 MAGETWO-44589: [Github] Make API jsonapi compliant 2015-10-26 16:52:28 +02:00
Dale Sikkema ac8d9ad019 MAGETWO-34323: Move Magento/Persistent module unit tests 2015-03-04 23:04:14 -06:00