Commit Graph
38 Commits
Author SHA1 Message Date
jayrangnani-gl 0bc8f1f778 AC-10718::PHPUnit 10 upgrade Error: Call to undefined method PHPUnit 10 upgrade Error: Call to undefined method withConsecutive()() - Fix unit tests 2024-01-11 20:30:55 +05:30
jayrangnani-gl 7ca067561d AC-10718::PHPUnit 10 upgrade Error: Call to undefined method PHPUnit 10 upgrade Error: Call to undefined method withConsecutive()() - Fix unit tests 2024-01-11 12:12:29 +05:30
jayrangnani-gl e0998aa448 AC-10718::PHPUnit 10 upgrade Error: Call to undefined method PHPUnit 10 upgrade Error: Call to undefined method withConsecutive()() - withConsecutive alternate 2024-01-05 12:11:20 +05:30
Karyna 2c719082ae Fix phpmd issues that were false-positive 2021-10-15 17:17:12 +03:00
bohdan-harniuk 39079fd4a9 CE-33707: Upgraded CE codebase to be compatible with the PHPUnit v 9.3.0 2021-08-09 00:00:54 +03:00
Matthew O'Loughlin 99b26a4f9c Merge remote-tracking branch 'origin/2.4-develop' into fix/cache_invalidate_incorrect_tag_splitting
Conflicts:
	app/code/Magento/CacheInvalidate/Test/Unit/Model/PurgeCacheTest.php
	app/code/Magento/CacheInvalidate/Test/Unit/Observer/FlushAllCacheObserverTest.php
2020-05-13 08:32:58 +09:30
Ihor Sviziev 0926f5c008 GH-26255: Refactor CacheInvalidate sendPurgeRequest to fix incorrect tag splitting
Fix static tests
2020-04-24 14:25:20 +03:00
Lukasz Bajsarowicz 12a0a70e6d #27500 PHPUnit9 for CacheInvalidate module 2020-04-22 20:38:31 +00:00
Ihor Sviziev 85b3ffd90b Merge branch '2.4-develop' into fix/cache_invalidate_incorrect_tag_splitting 2020-04-22 14:44:11 +03:00
Lukasz Bajsarowicz ba04db09da #27500 Code Review adjustments to CacheInvalidate module 2020-04-11 08:09:14 +00:00
Lukasz Bajsarowicz 98b703d6a2 #27500 Prepare CacheInvalidate module Tests for PHPUnit 8 2020-04-11 04:10:23 +00:00
Ihor Sviziev ec609e33ba Migrate ZF2 components to Laminas components 2020-01-17 16:52:13 +02:00
Matthew O'Loughlin a9d376d7c9 GH-26255: Add test coverage for multi-request purge tag splitting. 2020-01-08 09:33:01 +10:30
Matthew O'Loughlin e212301737 GH-26255: Refactor CacheInvalidate sendPurgeRequest to allow correct purge batching, regardless of
the size and content of provided tag pattern.
2020-01-04 09:15:47 +10:30
Leandro F. L 05c9e0ea61 [Forwardport] PHPDoc 2018-06-23 23:08:01 +02:00
Robert He b0e60f77e9 MAGETWO-69137: upgrading Magento2 Project PHPUnit version to latest 2017-07-13 11:21:33 -05:00
Oleksii Korshenko 1b5dc60a26 MAGETWO-66875: Remove the copyright year from file headers #8648 2017-03-29 04:48:40 +03:00
Eugene Tulika 41c3a13875 MAGETWO-65589: [GitHub][PR] Update PurgeCache.php magento/magento2#8052
- fixed unit test for the added header and method call
2017-03-13 21:16:39 -05:00
James Halsall a31f4a35c0 Remove the copyright year from file headers 2017-02-22 09:09:36 +00:00
Sergii Kovalenko eb30343a09 MAGETWO-62855: Copyright Year Update 2017 2017-01-05 13:01:45 +02:00
Stanislav Idolov 59d5c72b90 MAGETWO-51858: Convert literal class names to \Namespace\Classname::class 2016-04-29 12:23:09 +03:00
Joan He 056ad90b7e Merge remote-tracking branch 'upstream/develop' into MAGETWO-48081-copyright
Conflicts:
	app/code/Magento/SalesRule/view/base/web/js/form/element/coupon-tab-updater-checkbox.js
	app/code/Magento/SalesRule/view/base/web/js/form/element/coupon-tab-updater-select.js
	dev/tests/functional/tests/app/Magento/Review/Test/Block/Adminhtml/Product/Edit/Tab/Reviews.php
	dev/tests/functional/tests/app/Magento/Review/Test/Block/Adminhtml/ReviewsTab.php
	lib/internal/Magento/Framework/View/Test/Unit/Template/Html/MinifierTest.php
2016-03-18 10:14:14 -05:00
Joan He 2d368d0134 MAGETWO-48081: Copyright Year Update 2016-03-17 15:49:11 -05:00
Tom Klingenberg 9be8203cc7 protect setUp(), abstract test-case
the setUp() method has been declared public previously. while this is not
technically an error, there is no need in changing the visibility.

this commit addresses the issue by reverting test-cases setUp() methods
visibility from public back to protected.

additionally the BaseTestCase in Magento\Framework\TestFramework\Unit is
made abstract. this has been done because it would otherwise be identified
as test-case with no tests while it's only an abstract one.

further additionally some docblocks are added to address code sniffer
warnings.

fixes #2985
2016-01-23 08:54:52 +01:00
Joan He 0003b8b572 MAGETWO-43253: CLI tool throws error when varnish settings are set 2015-10-01 16:32:51 -05:00
Joan He dd0a8ed291 MAGETWO-43253: CLI tool throws error when varnish settings are set 2015-10-01 15:56:39 -05:00
Igor Melnikov 24df5c723d MAGETWO-42977: Use factories to inject dependencies on Zend classes in Magento\CacheInvalidate\Model\Observer
Refactored to inject \Zend\Uri\Uri and \Zend\Http\Client\Adapter\Socket via factories
2015-09-16 16:41:55 -05:00
Igor Melnikov 4d5e3fc5d9 MAGETWO-42444: Change invalidation mechanism to update cache on multiple servers
Code review fixes
2015-09-08 16:49:51 -05:00
Igor Melnikov 08337ded8a MAGETWO-42444: Change invalidation mechanism to update cache on multiple servers
Code review fixes
2015-09-08 16:42:03 -05:00
Igor Melnikov 42908d72dc MAGETWO-42444: Change invalidation mechanism to update cache on multiple servers
Refactoring
2015-09-08 13:33:24 -05:00
Igor Melnikov 237cf66f4a MAGETWO-42444: Change invalidation mechanism to update cache on multiple servers
Refactoring
2015-09-08 12:28:44 -05:00
Igor Melnikov e8884a2599 MAGETWO-42444: Change invalidation mechanism to update cache on multiple servers
Renaming config parameter
2015-09-08 11:27:17 -05:00
Igor Melnikov 3ce010d88e MAGETWO-42444: Change invalidation mechanism to update cache on multiple servers
Refactoring
2015-09-04 16:44:27 -05:00
Igor Melnikov e68f4fbfe7 MAGETWO-42444: Change invalidation mechanism to update cache on multiple servers
Refactoring
2015-09-04 12:29:14 -05:00
Igor Melnikov afb861cd1a MAGETWO-42444: Change invalidation mechanism to update cache on multiple servers
Added ability to purge multiple Varnish servers, replaced curl with sockets for better performance
2015-09-04 09:04:24 -05:00
Igor Melnikov ac89c676da MAGETWO-42444: Change invalidation mechanism to update cache on multiple servers
Added ability to purge multiple Varnish servers, replaced curl with sockets for better performance
2015-09-03 19:08:19 -05:00
Michail Slabko e3a318bf07 MAGETWO-31442: Splitting all observers with automated tool
- MAGETWO-40874: Manual split of Magento\CacheInvalidate\Model\Observer
-- fix static tests
2015-07-31 13:02:21 +03:00
Michail Slabko 4f6e20a88d MAGETWO-31442: Splitting all observers with automated tool
- MAGETWO-40874: Manual split of Magento\CacheInvalidate\Model\Observer
2015-07-31 11:25:07 +03:00