summaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/tests
Commit message (Collapse)AuthorAgeFilesLines
* inform the user when flow config data exceeds thresholdsArthur Schiwon2020-10-281-0/+159
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke2020-08-123-6/+6
| | | | | | \PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Flow File entity implements IContextPortationArthur Schiwon2020-08-051-1/+3
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-102-14/+14
| | | | | | | | | | | | | | | 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 elseif instead of else ifChristoph Wurst2020-04-101-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-093-4/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-091-1/+0
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the shorter phpunit syntax for mocked return valuesChristoph Wurst2020-03-251-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add app config to disable user flowsJulius Härtl2020-03-211-1/+6
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Use the new Events in FlowRoeland Jago Douma2020-01-021-5/+10
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* adjust unit testArthur Schiwon2019-11-281-1/+5
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* 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-274-5/+5
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* relax dependency on GenericEvent, instead stay compatible with old eventsArthur Schiwon2019-11-131-1/+6
| | | | | | * also fixes tagging events Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fix manager testsArthur Schiwon2019-09-101-6/+8
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Fix test mockingJulius Härtl2019-09-101-1/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* split events DB field into entity and events, adjust biz logicArthur Schiwon2019-09-091-18/+30
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* extend DB table, manager, controller with support for entity eventsArthur Schiwon2019-09-091-3/+4
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* add missing depArthur Schiwon2019-09-091-1/+6
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* scope aware workflow controller and managerArthur Schiwon2019-09-091-5/+244
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* introducing Entity interfaces and a File one as first implementationArthur Schiwon2019-09-091-4/+67
| | | | | | also adds admin settings that pass entities as initial state Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Make the Outlook and Thunderbird addons identifyableJoas Schilling2018-02-271-0/+117
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix risky tests without assertionsJoas Schilling2018-01-252-0/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use ::class in test mocksMorris Jobke2017-10-243-4/+8
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Do not reset the list after adding cached entriesJoas Schilling2016-10-171-0/+94
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Translate the errorsJoas Schilling2016-08-013-49/+80
|
* Add request timeJoas Schilling2016-08-011-0/+146
|
* Add remote addressJoas Schilling2016-08-011-0/+123
|
* Add file mime typeJoas Schilling2016-08-011-0/+149