Commit Graph

25 Commits

Author SHA1 Message Date
Daniel Calviño Sánchez 4f5271acf9 Reset app configs by deleting the values instead of setting the defaults
This avoids the need to keep the default values in the integration tests
in sync with the code, and also makes possible to reset values with
"dynamic" defaults (defaults that depend on other values).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-16 08:54:19 +01:00
Christoph Wurst d9015a8c94
Format code to a single space around binary operators
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-05 20:25:24 +02:00
Christoph Wurst cb057829f7
Update license headers for 19
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-29 11:57:22 +02:00
Christoph Wurst caff1023ea
Format control structures, classes, methods and function
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>
2020-04-10 14:19:56 +02:00
Christoph Wurst afbd9c4e6e
Unify function spacing to PSR2 recommendation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 13:54:22 +02:00
Christoph Wurst 74936c49ea
Remove unused imports
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-25 22:08:08 +01:00
Christoph Wurst 5bf3d1bb38
Update license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-12-05 15:38:45 +01:00
John Molakvoæ (skjnldsv) 49d0f0c499
Fixed phpunit Test class
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-06-13 07:24:41 +02:00
Robin Appelman 359ccbc023
Adjust integration tests to new guzzle
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-02-09 17:13:30 +01:00
Morris Jobke 0eebff152a
Update license headers
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-11-06 16:56:19 +01:00
Joas Schilling 0215b004da
Update with robin 2016-07-21 18:13:58 +02:00
Roeland Jago Douma ab034f0593 Add intergration tests 2016-04-04 19:35:01 +02:00
Joas Schilling 8eb9638490 Make the app config code ready for reuse 2016-03-15 14:23:41 +01:00
Joas Schilling 26e974d859 Fix inheritance of members 2016-03-11 13:59:19 +01:00
Roeland Jago Douma 0b4ff1a9e3 Fix capabilities intergration tests
Split the array element selection and the member selection.
2016-03-08 15:13:15 +01:00
Joas Schilling 671b06a86b Deduplicate the array 2015-12-11 16:25:35 +01:00
Joas Schilling 1959171d5d Speed up the tests by reseting the configs and app only when needed 2015-12-11 16:25:35 +01:00
Sergio Bertolin 17fcd84ee3 Prepare logic to handle nested elements and add pending test cases 2015-12-11 16:20:04 +01:00
Sergio Bertolin 5b895335df Added tests disabling options using testing app 2015-12-11 16:20:04 +01:00
Joas Schilling 7d3e40c065 Add an OCS app for testing instead of using sudo and exec 2015-12-11 16:20:04 +01:00
Sergio Bertolin 0449dc387b Added functionality to change server configuration 2015-12-11 16:20:04 +01:00
Sergio Bertolin 4338a741f2 Added functionality for changing server configuration 2015-12-11 16:20:04 +01:00
Scrutinizer Auto-Fixer ffc49a24f0 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-12-10 16:43:37 +01:00
Sergio Bertolin c744b30b3b Changed fail for assertEquals and removed fields which weren't checked 2015-12-03 12:54:44 +00:00
Sergio Bertolin e01e894b98 Added capabilities context and tests 2015-12-02 17:29:42 +00:00