summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Clear the shares after the test like storages and filesMorris Jobke2015-10-091-0/+12
| | | | * adjusted to stable8.1 backport of #19574
* Fallback to complete Memcached flush if getAllKeys failsRobin McCorkell2015-09-061-0/+23
| | | | | | | Newer Memcached's do not support the underlying protocol commands that getAllKeys() is implemented with. We should fallback to clearing everything in that case, as causing (temporary) performance problems for other applications on the server is better than having stale cached data.
* Use certificates that expire in 10 yearsLukas Reschke2015-08-273-38/+53
| | | | :speak_no_evil: :speak_no_evil: :speak_no_evil:
* add test for factoriesBernhard Posselt2015-08-132-12/+26
| | | | | | | | use ref for factory test Ensure we construct SimpleContainer Use single instance of DIContainer in routing tests
* Add unit testsLukas Reschke2015-07-271-0/+28
|
* Merge pull request #17158 from ↵Morris Jobke2015-07-161-0/+33
|\ | | | | | | | | owncloud/backport-15772-no-permission-restriction-for-owner [stable8] Backport 15772 no permission restriction for owner
| * Add a test to share a subfolder of a folder shared with the owner by groupJoas Schilling2015-06-251-0/+33
| |
* | Merge pull request #17172 from owncloud/view-emit-path-stable8Morris Jobke2015-07-081-0/+29
|\ \ | | | | | | [stable8] emit hooks from a view as long as the path is inside the default root
| * | emit hooks from a view as long as the path is inside the default rootRobin Appelman2015-06-291-0/+29
| | |
* | | Use UTF-8 mode for preg_split and preg_replaceLukas Reschke2015-07-011-2/+8
|/ / | | | | | | | | | | Otherwise a single application with a description containing a non compliant character can break the whole ownCloud appstore. This is for example https://apps.owncloud.com/content/show.php?content=149553 Fixes https://github.com/owncloud/core/issues/17101#issuecomment-117365224
* / add unit tests for null handling in viewRobin Appelman2015-06-251-0/+17
|/
* Backport of #15592 to stable8Thomas Müller2015-06-251-0/+22
| | | | | | Avoid php message "Invalid argument supplied for foreach()" - refs #15590 Remove unneeded comments
* Merge pull request #16579 from owncloud/stable8-cors-no-cookie-authThomas Müller2015-06-221-4/+71
|\ | | | | Disallow cookie auth for cors requests stable8
| * disallow cookie auth for cors requestsBernhard Posselt2015-05-271-4/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | testing ... fixes fix test add php doc fix small mistake add another phpdoc remove not working cors annotations from files app
* | Merge pull request #16734 from owncloud/stable8-dav-getremoteetagThomas Müller2015-06-221-0/+18
|\ \ | | | | | | [stable8] Get etag from remote OC server
| * | Disable update check test when testing wrappersVincent Petry2015-06-031-0/+3
| | | | | | | | | | | | | | | The checkUpdate test is intended for testing real storages, not wrappers.
| * | Added storage backend test for checkUpdateVincent Petry2015-06-031-0/+15
| |/ | | | | | | | | This helps testing whether checkUpdate properly returns false when no change exists
* | AppFramework annotation whitespace unit testRobin McCorkell2015-06-221-0/+14
| |
* | Merge pull request #16630 from owncloud/stable8-quota-onlyforfilesMorris Jobke2015-06-092-15/+102
|\ \ | | | | | | [stable8] Only use quota stream wrapper on "files"
| * | Backported unit tests from 31e94708f86e21174e4bcfaf33f645dbba1efc1eVincent Petry2015-06-011-4/+79
| | | | | | | | | | | | | | | | | | Partial backport, only took the unit tests from 31e94708f86e21174e4bcfaf33f645dbba1efc1e to simulate failure using mocks instead of the quota storage wrapper.
| * | Only use quota stream wrapper on "files"Vincent Petry2015-05-291-11/+23
| |/ | | | | | | | | Prevent using the quota stream wrapper on trashbin folders and other metadata folders
* | Merge pull request #16738 from rullzer/ocs_set_password_backportMorris Jobke2015-06-091-0/+280
|\ \ | | | | | | [stable8] Set password properly in OCS Share API
| * | Added unit testRoeland Jago Douma2015-06-031-0/+46
| | |
| * | Fix unit testRoeland Jago Douma2015-06-031-0/+4
| | |
| * | OCS Fixes to allow setting of password without removing additional settingsRoeland Jago Douma2015-06-031-0/+230
| |/ | | | | | | | | | | - Added setPassword to share.php - Fixed OCS API call - Added unit tests
* / Properly return fileid when scanFile() did not find differencesVincent Petry2015-06-011-0/+8
|/
* Merge pull request #15959 from ↵Morris Jobke2015-05-201-2/+56
|\ | | | | | | | | owncloud/backport-15596-remote-share-feedback-urls Backport 15596 remote share feedback urls
| * Add tests for the correct share id on the call aswellJoas Schilling2015-05-041-5/+8
| |
| * make scrutinizer happyJoas Schilling2015-05-041-1/+1
| |
| * Add tests for the remote sharing urlJoas Schilling2015-05-041-2/+53
| |
* | Add unit test for migrator with different prefixVincent Petry2015-05-191-1/+28
| |
* | Properly log out test users in unit testsVincent Petry2015-05-151-0/+2
| |
* | Merge pull request #15797 from owncloud/stable8-backport-15489Jörn Friedrich Dreyer2015-05-132-32/+38
|\ \ | |/ |/| Stable8 backport 15489
| * fix unit testsMorris Jobke2015-04-221-2/+2
| |
| * fix cherrypickingJörn Friedrich Dreyer2015-04-222-23/+32
| |
| * fix filesystem and encryption testsJörn Friedrich Dreyer2015-04-221-7/+4
| | | | | | | | | | | | Conflicts: apps/files_encryption/lib/util.php apps/files_encryption/tests/hooks.php
* | Merge pull request #15609 from owncloud/stable8-share-donotreturntrashedfilesMorris Jobke2015-04-281-0/+40
|\ \ | | | | | | [stable8] Do not return shares for files outside "files"
| * | Add logout in share test to avoid nasty side effectsVincent Petry2015-04-141-0/+1
| | |
| * | Do not return shares for files outside "files"Vincent Petry2015-04-141-0/+39
| | |
* | | Revert "Revert "[stable8] Properly add trailing slash to mount point""Morris Jobke2015-04-161-0/+4
| |/ |/|
* | Revert "[stable8] Properly add trailing slash to mount point"Thomas Müller2015-04-161-4/+0
| |
* | Properly add trailing slash to mount pointVincent Petry2015-04-131-0/+4
|/ | | | | Fixes resolving mount points when shared mount point's target name has the same prefix as the source name
* Select the timezone on the right timestamp and assert itJoas Schilling2015-04-071-8/+11
|
* Merge pull request #15246 from owncloud/stable8-share-partfilepermissionsMorris Jobke2015-03-271-2/+2
|\ | | | | [stable8] Fix share permission checks
| * Fix share permission related unit testsVincent Petry2015-03-261-2/+2
| |
* | SQLite autoincrement fix backportVincent Petry2015-03-262-0/+94
|/ | | | | | | | | Add custom sqlite platform to set auto increment Add repair step to fix SQLite autoincrement Force Doctrine to generate alter table SQL statements for SQLite to make sure the code from OCSqlitePlatform is triggered.
* Merge pull request #14914 from ↵Vincent Petry2015-03-262-14/+126
|\ | | | | | | | | owncloud/backport-14766-compare-array-insertifnotexists [Stable8] Backport 14766 compare array insertifnotexists
| * Add test for UniqueConstraintViolationException on wrong keyJoas Schilling2015-03-161-0/+32
| |
| * let insertIfNotExist() throw the native DBALException - no need to hide the ↵Thomas Müller2015-03-161-5/+5
| | | | | | | | real exception
| * Adding unit test which shows insertIfNotExists to fall apart in certain ↵Thomas Müller2015-03-162-11/+91
| | | | | | | | situations