Commit Graph
36 Commits
Author SHA1 Message Date
Maksym Aposov eab7da9459 AC-2391: Remove legacy variable resolver from email template processor
- fix unit tests
2022-02-24 19:56:36 -06:00
Maksym Aposov 75c9c849fd AC-2391: Remove legacy variable resolver from email template processor
- cleanup setStrictMode()
2022-02-23 18:13:19 -06: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 65c29c9390 #27500 PHPUnit9 for Email module 2020-04-23 00:26:47 +00:00
Lukasz Bajsarowicz e4fe348f53 #27500 Prepare Email module Tests for PHPUnit 8 2020-04-11 18:58:43 +00:00
Oleksandr Gorkun d16d30a5fa MC-29567: [2.4.x] Remove SID query parameter-related method calls 2020-01-03 12:46:10 -06:00
Oleksandr Gorkun c0ab1d9c7a MC-29567: [2.4.x] Remove SID query parameter-related method calls 2020-01-03 10:46:58 -06:00
Nathan Smith e7b0c52f8b MC-19918: Introduce scalar variables only mode to E-mail templates 2019-11-06 16:58:13 -06:00
Leandro F. L 05c9e0ea61 [Forwardport] PHPDoc 2018-06-23 23:08:01 +02:00
Myroslav Dobra 662a316cda MAGETWO-90349: Template file 'header.html' is not found. 2018-06-01 16:07:14 +03:00
Myroslav Dobra c5eab1c0fc MAGETWO-90349: Template file 'header.html' is not found. 2018-06-01 16:05:03 +03:00
Andrii Meysar 9b1b80e8c6 MAGETWO-90349: Template file 'header.html' is not found. 2018-06-01 14:32:43 +03:00
Andrii Meysar 075a64c2c3 MAGETWO-90349: Template file 'header.html' is not found. 2018-06-01 13:10:25 +03:00
Roman Ganin 4babf3021f MAGETWO-83832: Make variable names in 'Insert Variables Grid' non-hardcoded
- removed registry usage
2017-12-12 09:34:05 -06: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
James Halsall a31f4a35c0 Remove the copyright year from file headers 2017-02-22 09:09:36 +00:00
Eugene Tulika e55eeedc96 MAGETWO-63881: Accept public PRs #8327, #8336, #8307
- add unit test for AbstractTemplate Exception
2017-02-02 10:45:26 -06:00
Sergii Kovalenko eb30343a09 MAGETWO-62855: Copyright Year Update 2017 2017-01-05 13:01:45 +02:00
Vitalii Korotun 0027fa9c97 MAGETWO-58368: Update AbstractTemplate.php [GITHUB PR#5741]
- adjust Unit Test to cover all possible cases
2016-09-23 15:54:43 +03:00
Stanislav Idolov e5df4bce47 MAGETWO-51858: Convert literal class names to \Namespace\Classname::class 2016-04-29 12:27:32 +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
David Alger 3f9a74d385 MAGETWO-37635: Default Email Template Customization in Luma Theme
- fixed non-use of constant
2015-08-06 12:10:48 -05:00
Erik Hansen e333d7041e MAGETWO-37672: Responsive Email Foundation
- Removed context mocking from unit test, as context should be transparent in tests
2015-06-29 16:36:39 -05:00
Erik Hansen 6e3f2a951f MAGETWO-37672: Responsive Email Foundation
- Removed Object Manager injection as it was no longer needed
- Added consistency to properties being private/protected (DI-injected objects are protected, everything else is private)
- Updated obsolete methods in static test file
2015-06-29 16:34:06 -05:00
Erik Hansen feb5e27131 MAGETWO-37672: Responsive Email Foundation
- Fixed copyright/formatting/PHPMD issues
2015-06-15 22:36:31 -05:00
Erik Hansen 3848b63ce6 MAGETWO-37672: Responsive Email Foundation
- Moved the {{css}} and {{inlinecss}} processing logic from \Magento\Email\Model\AbstractTemplate
  to \Magento\Email\Model\Template\Filter as the previous approach resulted in too much coupling
  between the two classes
2015-06-13 22:54:47 -05:00
Erik Hansen 1774f6fd99 MAGETWO-37672: Responsive Email Foundation
- Refactored getProcessedTemplate method from Newsletter and Email classes into abstract class
- Removed getPreparedTemplateText method as it wasn't needed
- Changed \Magento\Newsletter\Model\Queue to extend from \Magento\Framework\Model\AbstractModel as it was not
  using the previous parent class methods and prevented getProcessedTemplate from being moved to abstract
- Method/property name cleanup to confirm with PSR-2
2015-05-29 19:32:00 -05:00
Yurii Torbyk 6d59375c52 MAGETWO-34991: Eliminate exceptions from the list Part2 2015-03-26 17:33:05 +02:00
Yuxing Zheng f60f4f8059 MAGETWO-35056: Merge and Fix tests
- Added @codingStandardsIgnoreFile to unit test files
2015-03-15 00:46:28 -05:00
Yuxing Zheng f592205b34 MAGETWO-35056: Merge and Fix tests
- Resolved conflicts from latest mainline due to the moving of unit tests
2015-03-14 01:25:39 -05:00
Christopher O'Toole b44a03f37d MAGETWO-34864: TestFramework code should be a framework component 2015-03-09 12:59:30 -05:00
Christopher O'Toole 7d9f63e9aa MAGETWO-34327: Fix static tests
Move unit test framework to lib framework
2015-03-06 13:23:57 -06:00
Christopher O'Toole 3e1cc9724b MAGETWO-34323: Move Magento/Email module unit tests 2015-03-04 22:06:13 -06:00