summaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests
Commit message (Collapse)AuthorAgeFilesLines
* remove the requirement that everything that looks like a placeholder is ↵Robin Appelman2020-03-181-49/+0
| | | | | | | | substituted While maybe not common, `$` is a valid option in config fields Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix external storage controller testsRobin Appelman2020-03-131-0/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update license headersChristoph Wurst2019-12-0536-37/+57
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix external storagestestsRoeland Jago Douma2019-11-272-12/+18
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Mode to modern phpunitRoeland Jago Douma2019-11-2715-57/+58
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make phpunit8 compatibleRoeland Jago Douma2019-11-2722-34/+34
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Some php-cs fixesRoeland Jago Douma2019-11-2221-29/+36
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Adjust testsJulius Härtl2019-08-021-1/+20
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix invalid recursionDaniel Kesselberg2019-07-211-0/+2
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Allow hidden smb sharesDaniel Kesselberg2019-07-161-0/+47
| | | | | | | A hidden smb share ends with $. This patch changes the placeholder detection to allow shares with $ at the end. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Add time between SMB test runs and properly log full changesetMorris Jobke2019-03-141-1/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Wait up to 10 seconds for incoming changes from SMB notifierMorris Jobke2019-03-131-1/+8
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix files_external testsJoas Schilling2019-03-011-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add dispatcher events to User and Group objectsJoas Schilling2019-03-011-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* typos in doc, no code changesArthur Schiwon2019-02-152-1/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* files_external: allow to register config handlers for flexible placeholdersArthur Schiwon2019-02-142-15/+141
| | | | | | | | * BackendService (directly accessable via \OC_Server) offers registerConfigHandler * SimpleSubstitutionTrait brings reusable logic for simple string replacments * internal $user replacement mechanism was migrated Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Fix JS namespace of files_external appJoas Schilling2018-10-303-6/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix usage of deprecated OC.webrootChristoph Wurst2018-10-092-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* files_external: Fix jsunit testsJulius Härtl2018-08-021-10/+7
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* use DAV instead of SMB for deletion testsRobin Appelman2018-06-211-5/+4
| | | | | | SMB storages can't be constructed on drone because of missing dependencies Signed-off-by: Robin Appelman <robin@icewind.nl>
* update icewind/smb to 3.0.0Robin Appelman2018-06-211-1/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix testsRoeland Jago Douma2018-05-011-1/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* fixup! Fixed testsJohn Molakvoæ (skjnldsv)2018-02-271-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* fixup! Fixed testsJohn Molakvoæ (skjnldsv)2018-02-271-20/+20
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fixed testsJohn Molakvoæ (skjnldsv)2018-02-271-3/+10
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* adjust swift external storage to new openstack sdkRobin Appelman2018-02-191-6/+10
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix risky tests without assertionsJoas Schilling2018-01-251-13/+13
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* increase the time we wait for smb notifications in the testRobin Appelman2018-01-221-2/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #6682 from nextcloud/dav-mimetype-fallbackRoeland Jago Douma2017-12-111-1/+12
|\ | | | | Fallback to filename based detection if the remote dav server doesn't…
| * Fallback to filename based detection if the remote dav server doesn't know ↵Robin Appelman2017-09-281-1/+12
| | | | | | | | | | | | the mimetype Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Update license headersMorris Jobke2017-11-0617-0/+21
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Use ::class in test mocksMorris Jobke2017-10-248-26/+43
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* adjust tests to new failed storage handlingRobin Appelman2017-09-061-8/+7
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Move GDrive external storage to a separate repoVincent Petry2017-08-212-81/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Bye bye Dropbox v1Vincent Petry2017-08-162-87/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add new specific tests for SMBJuan Pablo Villafáñez2017-04-261-0/+19
|
* Fix sinon.stub deprecation warningsChristoph Wurst2017-04-241-1/+1
| | | | | | | | | | Calls to `sinon.stub(obj, 'meth', fn)` are deprecated and therefore replaced by `sinon.stub(obj, 'meth).callsFake(fn)` as instructed by the deprecation warning. This makes the js unit testing output readable again. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update comments to NextcloudMorris Jobke2017-04-114-7/+7
| | | | | | | * based on PR by @Ardinis * see #4311 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* replace autosave with a save button for external storage configurationRobin Appelman2017-03-221-8/+5
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #2044 from nextcloud/login-credential-storeMorris Jobke2017-01-301-6/+9
|\ | | | | Login credential store
| * fix constructor params in failing testChristoph Wurst2017-01-111-6/+9
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | add unit tests for smb notify backendRobin Appelman2017-01-271-0/+47
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix test mocksMorris Jobke2017-01-201-0/+5
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add files_external webdav apache testsRoeland Jago Douma2016-12-292-0/+40
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add SMB tests and execute files_external testsLukas Reschke2016-12-207-261/+81
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Use OCP\\IL10N in tests tooMorris Jobke2016-10-281-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix getMock files_externalRoeland Jago Douma2016-09-0610-34/+59
|
* Use MockBuilder instead of createMockLukas Reschke2016-08-152-5/+5
| | | | CI uses an older PHPUnit
* Add unit testsLukas Reschke2016-08-152-0/+171
|
* Update with robinJoas Schilling2016-07-2123-23/+23
|