summaryrefslogtreecommitdiffstats
path: root/tests/lib/Notification
Commit message (Collapse)AuthorAgeFilesLines
* Format control structures, classes, methods and functionChristoph Wurst2020-04-102-2/+1
| | | | | | | | | | | | | | | 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 a blank line after the opening tagChristoph Wurst2020-04-093-0/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-094-4/+0
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove unused importsChristoph Wurst2020-03-251-2/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Mode to modern phpunitRoeland Jago Douma2019-11-273-25/+38
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make phpunit8 compatibleRoeland Jago Douma2019-11-273-3/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Keep the old method as a fallback and adjust the testsJoas Schilling2019-07-165-423/+196
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add strict type on Notifications testsJohn Molakvoæ (skjnldsv)2019-06-131-7/+42
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix "Undefined method setExpectedException()"Joas Schilling2018-01-241-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use ::class in test mocksMorris Jobke2017-10-241-25/+28
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use a php class for the definitions to avoid loading problemsJoas Schilling2016-11-091-1/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow rich object subjects for NotificationsJoas Schilling2016-10-201-29/+21
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add an icon to the notification APIJoas Schilling2016-10-071-0/+28
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make sure the primary action is always the first oneJoas Schilling2016-08-151-0/+29
|
* Move tests/ to PSR-4 (#24731)Joas Schilling2016-05-203-0/+1280
* 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