aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Mail/MessageTest.php
Commit message (Collapse)AuthorAgeFilesLines
* fix(message): Fix logic of Mail testJoas Schilling2024-10-071-5/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* refactor: Add void return type to PHPUnit test methodsChristoph Wurst2024-09-151-15/+15
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-251-2/+2
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-131-4/+3
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-231-1/+1
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Migrate to Symfony MailerCôme Chilliet2023-02-021-222/+144
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* refactor AutoSubmittedValue to Headers\AutoSubmitted and addingBennet Becker2023-01-031-7/+7
| | | | | | header name to constants Signed-off-by: Bennet Becker <dev@bennet.cc>
* fix static-analysis error and formatting codeBennet Becker2022-12-231-39/+4
| | | | Signed-off-by: Bennet Becker <dev@bennet.cc>
* fix getAutoSubmitted return type and adding unit testsBennet Becker2022-12-231-0/+142
| | | | Signed-off-by: Bennet Becker <bbecker@pks.mpg.de>
* Do not throw errors when invalid setTo email is providedJulius Härtl2022-11-031-3/+14
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Check style updateCarl Schwan2022-01-131-3/+3
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke2020-08-121-4/+4
| | | | | | \PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-1/+0
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-19/+19
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #20172 from nextcloud/techdebt/phpunit-short-returnChristoph Wurst2020-03-261-6/+6
|\ | | | | Use the shorter phpunit syntax for mocked return values
| * Use the shorter phpunit syntax for mocked return valuesChristoph Wurst2020-03-251-6/+6
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use lowercase true, false and null constantsChristoph Wurst2020-03-251-1/+1
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Added Hook before Message is sendArne Hamann2020-03-241-13/+39
| | | | Signed-off-by: Arne Hamann <kontakt+github@arne.email>
* Mode to modern phpunitRoeland Jago Douma2019-11-271-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make phpunit8 compatibleRoeland Jago Douma2019-11-271-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Provide an option to disable HTML emailsMorris Jobke2018-04-161-1/+48
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix testsRoeland Jago Douma2018-03-051-3/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move tests/ to PSR-4 (#24731)Joas Schilling2016-05-201-0/+183
* Move a-b to PSR-4 * Move c-d to PSR-4 * Move e+g to PSR-4 * Move h-l to PSR-4 * Move m-r to PSR-4 * Move s-u to PSR-4 * Move files/ to PSR-4 * Move remaining tests to PSR-4 * Remove Test\ from old autoloader