summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1441 from nextcloud/getby-id-less-queriesLukas Reschke2016-10-147-117/+226
|\ | | | | optimize Folder::getById to use less queries
| * optimize Folder::getById to use less queriesRobin Appelman2016-10-127-117/+226
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #1037 from nextcloud/no-double-token-updateChristoph Wurst2016-10-141-27/+128
|\ \ | |/ |/| dont update the auth token twice
| * Add test to ensure token times are updatedRobin Appelman2016-10-111-24/+128
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * dont update the auth token twiceRobin Appelman2016-10-111-3/+0
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Add tests for commands in info.xmlRoeland Jago Douma2016-10-111-0/+7
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | [9.2] Register commands in info.xml (#26248)Thomas Müller2016-10-111-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | * Use DI to load console commands from the apps - class name to be defined in the info.xml * Load commands from info.xml * Fix unit test * Allow Di magic for IMountManager Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Fix QueryBuilderTestsThomas Müller2016-10-111-10/+10
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Fix typehintRoeland Jago Douma2016-10-101-2/+2
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Cleanup test caseThomas Müller2016-10-101-10/+15
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #1660 from nextcloud/add-notification-icon-to-apiChristoph Wurst2016-10-101-0/+28
|\ | | | | Add an icon to the notification API
| * Add an icon to the notification APIJoas Schilling2016-10-071-0/+28
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #1663 from nextcloud/dont-reparse-info-xmlMorris Jobke2016-10-103-27/+28
|\ \ | | | | | | Dont reparse info xml + cache AppInfo XML
| * | Cache AppInfo in Memory Cache if configuredLukas Reschke2016-10-071-11/+25
| | | | | | | | | | | | | | | | | | | | | | | | This saves around 20ms on a bare-bone instance, on bigger ones more (depending on the number of installed apps). See https://blackfire.io/profiles/compare/fc326ad3-100d-49b8-8ea9-8343240f53f3/graph Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
| * | Don't parse info.xml but reuse already cached app infos - fixes #25603 (#25968)Thomas Müller2016-10-073-19/+6
| |/ | | | | | | | | | | | | | | * Don't parse info.xml but reuse already cached app infos - fixes #25603 * Use === in InfoParser. Fixes test * InfoParser should not depend on UrlGenerator - fixes issue with session being closed too early
* | Merge pull request #1656 from nextcloud/appinfo-check-class-existanceChristoph Wurst2016-10-101-0/+122
|\ \ | | | | | | Make sure all the jobs, command, provides and migrations are valid
| * | Make sure all the jobs, command, provides and migrations are validJoas Schilling2016-10-071-0/+122
| |/ | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* / Simplify isSubDirectory checkLukas Reschke2016-10-071-13/+0
|/ | | | | | Shaves off another 9ms per request as can be seen at https://blackfire.io/profiles/compare/dd54cef3-e58d-4a22-b8f4-c7c4b70697be/graph Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Merge pull request #1514 from nextcloud/integration-tests-orphaned-sharesMorris Jobke2016-10-061-23/+158
|\ | | | | Integration tests orphaned shares + Prefilter inaccessible shares
| * Prefilter inaccessible shares in DefaultShareProvider::getSharedWith()Vincent Petry2016-10-061-23/+158
| | | | | | | | | | | | | | | | | | | | | | The DefaultShareProvider now does a DB-level check to find out whether file_source is accessible at all (deleted file) or whether it's in the trashbin of a home storage. One small corner case where the home storage id is in md5 form cannot be covered properly with this approach. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Merge pull request #1629 from nextcloud/cleanup-settings-applicationJoas Schilling2016-10-069-317/+492
|\ \ | |/ |/| Cleanup settings Application class
| * Use our base class everywhereJoas Schilling2016-10-061-1/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * phpunit min version is 4.8Joas Schilling2016-10-061-31/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Fix testsJoas Schilling2016-10-067-286/+367
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Use magic DI as much as possibleJoas Schilling2016-10-051-17/+29
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Add a test for all the controllers and the middlewareJoas Schilling2016-10-051-0/+111
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Properly catch password policy hint for personal page password changesMorris Jobke2016-10-061-0/+25
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #1306 from nextcloud/simplefsLukas Reschke2016-10-066-20/+440
|\ \ | |/ |/| Introducing AppData
| * Fix avatar testsRoeland Jago Douma2016-10-051-10/+10
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * avatar to appdataRoeland Jago Douma2016-10-051-10/+12
| | | | | | | | | | | | * Fix AvatarTest Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Add TestsRoeland Jago Douma2016-10-054-0/+418
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #1624 from nextcloud/exclude_coverage_dirsLukas Reschke2016-10-051-0/+5
|\ \ | | | | | | Exclude tests and composer dir from coverage
| * | Exclude tests and composer dir from coverageRoeland Jago Douma2016-10-051-0/+5
| |/ | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* / Generate coverage for quick DB testsLukas Reschke2016-10-051-2/+4
|/ | | | | | This adds the "QUICKDB" group which excludes some tests that abuse unit tests as integration tests as displayed in https://github.com/nextcloud/server/issues/1626 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Do not use underscores in PSR4 namespaces of the backup codes appChristoph Wurst2016-10-031-3/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove database requirement from testLukas Reschke2016-10-031-17/+57
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Remove unused endpointJoas Schilling2016-09-301-130/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use magic DI for core controllersJoas Schilling2016-09-301-5/+9
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #1582 from nextcloud/make-comments-100-testedLukas Reschke2016-09-301-0/+4
|\ | | | | Add test for setTopmostParentId and getTopmostParentId
| * Add test for setTopmostParentId and getTopmostParentIdLukas Reschke2016-09-291-0/+4
| | | | | | | | | | | | This wasn't tested before as proven by the coverage data. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Only trigger postDelete hooks when the user was deleted...Joas Schilling2016-09-291-4/+5
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Make sure that comments, notifications and preferences are deletedJoas Schilling2016-09-291-11/+74
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #1534 from nextcloud/svg-optimizationLukas Reschke2016-09-282-7/+2
|\ | | | | Svgo optimization
| * Svgo optimizationskjnldsv2016-09-272-7/+2
| | | | | | | | Signed-off-by: John Molakvoæ <fremulon@protonmail.com>
* | Merge pull request #1549 from nextcloud/kill-update-simulationMorris Jobke2016-09-281-21/+7
|\ \ | | | | | | Kill update simulation
| * | Kill update simulationVincent Petry2016-09-271-21/+7
| | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | Merge pull request #1521 from nextcloud/fix-mimetypedetect-hiddenfolderLukas Reschke2016-09-271-0/+2
|\ \ \ | |/ / |/| | Fix mimetype detection inside hidden folders (#26138)
| * | Fix mimetype detection inside hidden folders (#26138)Vincent Petry2016-09-261-0/+2
| |/ | | | | | | | | | | Downstreaming of https://github.com/owncloud/core/pull/26138 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Use the same URL everywhereJoas Schilling2016-09-271-8/+8
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Return the autoupdater value from the serverJoas Schilling2016-09-271-0/+4
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>