nextcloud/tests/lib
Roeland Jago Douma 50b880edeb
Don't lie about the preview mimetype
For legacy reasons we stored all the previews with a png extention.
However we did not put png data in them all the time.

This caused the preview endpoints to always report that a preview is a
png file. Which was a lie.

Since we abstract away from the storage etc in the previewmanager. There
is no need anymore to store them as .png files and instead we can use
the actual file extention.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-01-08 20:39:39 +01:00
..
Accounts fix email verification status 2017-04-28 23:41:37 -03:00
Activity Fix activity manager tests 2016-11-16 09:25:45 +01:00
App Add new bundle 2017-07-26 11:47:15 +02:00
AppFramework allow 'Nextcloud' in the user agent string of Android 2017-12-12 14:38:36 +01:00
Archive Remove unneeded checks if it runs on a Windows machine 2016-07-08 15:55:17 +02:00
Authentication Fix duplicate session token after remembered login 2017-12-19 09:17:06 +01:00
BackgroundJob Add duration of last job execution to the table 2017-04-25 17:39:58 +02:00
Cache Make cache tests a bit more clear 2017-05-04 19:37:40 -03:00
Command Add proper tests 2016-12-19 15:35:31 +01:00
Comments Can not insert auto increment on oracle 2017-08-03 16:40:00 +02:00
Contacts/ContactsMenu Add filter for shareapi_allow_share_dialog_user_enumeration 2017-09-18 17:28:07 +02:00
DB Fix querybuilder and functionbuilder tests 2017-08-03 16:40:35 +02:00
Diagnostics Adjust query/event logging code in favour of more complex owncloud/diagnostics (#27643) 2017-04-26 13:19:43 +02:00
Encryption Don't use deprecated getMock() anymore 2017-04-20 12:30:21 +02:00
Federation clean cloud ids 2017-02-09 13:31:06 +01:00
Files Allow getting the filepath when getting cached mounts by fileid 2017-12-12 14:11:40 +01:00
GlobalScale add new config switched for the global scale architecture 2017-06-02 11:00:08 +02:00
Group Fix 5.6 duplicate class import 2017-03-17 13:54:58 +01:00
Hooks Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
Http/Client Merge pull request #2912 from nextcloud/increase-coverage-response.php 2017-01-02 16:01:47 +01:00
IntegrityCheck Add proper tests 2016-12-19 15:35:31 +01:00
L10N Don't force the use of Accept-Language anymore 2017-04-07 11:10:04 +02:00
Lock Fix getMock DBLockingProviderTest 2016-09-13 09:09:53 +02:00
Lockdown Save the scope of an auth token in the session 2017-04-05 17:58:33 +02:00
Log Delete the correct config value 2017-04-20 12:23:12 +02:00
Mail Fix email buttons for white theme 2017-12-18 17:03:01 +01:00
Memcache Make cache tests a bit more clear 2017-05-04 19:37:40 -03:00
Migration Fix getMock Migration 2016-09-07 20:42:38 +02:00
Notification Use a php class for the definitions to avoid loading problems 2016-11-09 08:52:07 +01:00
OCS add tests for discovery service 2017-04-11 15:04:01 +02:00
Preview Don't lie about the preview mimetype 2018-01-08 20:39:39 +01:00
PublicNamespace Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
Repair dont run invalid path repair step when upgrading from 11.0.5.2 and later 2017-10-03 16:28:54 +02:00
RichObjectStrings Add test and adjust PHP function arguments 2016-11-09 10:49:57 +01:00
Security add prefix to user and system keys to avoid name collisions 2017-08-30 20:36:10 +02:00
Session Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
Settings Rename “Server settings” to “Basic settings” 2017-04-29 17:13:21 +02:00
Share Fix last failures with oracle 2017-08-03 16:40:46 +02:00
Share20 Fix current access list test and add one for $currentAccess === false 2017-11-28 17:24:12 +01:00
SystemTag test setTagGroups with empty groupids 2017-03-19 22:01:46 -06:00
Template Fixed tests 2018-01-04 08:35:38 +01:00
Traits Fix phpunit Trait warning 2016-07-08 19:36:17 +02:00
Updater Document updater channel & check for correct PHP version in updater 2016-12-06 00:19:13 +01:00
User emit changeUser only if there really was a change (quota, displayname) 2017-06-01 13:08:23 +02:00
Util Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
AllConfigTest.php Don't use deprecated getMock() anymore 2017-04-20 12:30:21 +02:00
APITest.php FIx lib/ a-d 2016-05-19 09:27:21 +02:00
AppConfigTest.php Fix tests 2017-01-12 10:49:22 +01:00
AppTest.php Fix tests 2017-05-20 17:15:19 -05:00
AutoLoaderTest.php Fix unit tests 2016-05-20 16:35:07 +02:00
AvatarManagerTest.php Add using casing check/fix for initMountPoints 2016-11-02 22:21:46 +01:00
AvatarTest.php avatar to appdata 2016-10-05 11:00:16 +02:00
CapabilitiesManagerTest.php Make the capabilities manager more error proof 2016-08-15 20:37:19 +02:00
ConfigTest.php Check for boolean false and add tests 2017-04-04 15:56:50 -05:00
ContactsManagerTest.php FIx lib/ a-d 2016-05-19 09:27:21 +02:00
DateTimeFormatterTest.php Provide tests for future timestamp formatting 2017-10-23 15:42:14 +02:00
ErrorHandlerTest.php FIx lib/ a-d 2016-05-19 09:27:21 +02:00
FileChunkingTest.php Fix getMock FileChunkingTest 2016-09-07 20:42:37 +02:00
FilesTest.php Make sure memory limit is > post size and upload filesize 2016-09-13 16:50:36 +02:00
HelperStorageTest.php fix quota tests for external storage 2017-05-12 11:32:16 -05:00
HookHelper.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
HTTPHelperTest.php Fix getMock HTTPHelper 2016-09-07 20:42:37 +02:00
ImageTest.php Use 90% JPEG quality for thumbnails and previews by default 2017-02-22 14:53:15 +01:00
InfoXmlTest.php Add the AppContainer 2017-03-22 11:24:16 +01:00
InstallerTest.php Adjust tests 2017-04-26 20:07:51 +02:00
LargeFileHelperGetFileSizeTest.php Remove unneeded Windows logic 2016-09-01 10:47:57 +02:00
LargeFileHelperTest.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
LegacyHelperTest.php Fixed tests 2018-01-03 22:05:03 +01:00
LoggerTest.php Unit tests for #6977 2018-01-03 10:46:30 +01:00
NaturalSortTest.php Fix lib/ 2016-05-19 09:38:52 +02:00
NavigationManagerTest.php Inject \OCP\IURLGenerator to make tests work 2017-08-30 14:42:50 +02:00
RepairStepTest.php Don't use deprecated getMock() anymore 2017-04-20 12:30:21 +02:00
ServerTest.php Remove IDb interface which was deprecated for 3 years already 2016-12-14 11:42:16 +01:00
SetupTest.php Move OC_Defaults to OCP\Defaults 2017-04-09 21:43:01 -05:00
SubAdminTest.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
TagsTest.php Fix getMock TagTest 2016-09-13 09:09:53 +02:00
TemplateFunctionsTest.php Fix lib/ 2016-05-19 09:38:52 +02:00
TempManagerTest.php Fix getMock TempManagerTest 2016-09-07 20:42:38 +02:00
TestCase.php Move OC_Defaults to OCP\Defaults 2017-04-09 21:43:01 -05:00
TestMoveableMountPoint.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
UpdaterTest.php Prevent migration from ownCloud 11 to Nextcloud 12 2017-01-23 12:04:46 +01:00
UrlGeneratorTest.php Fixed tests 2018-01-03 22:05:03 +01:00
UserTest.php Remove warning 2017-01-05 12:17:30 +01:00
UtilCheckServerTest.php Use SystemConfig instead of AllConfig for DB stuff 2017-03-19 15:53:49 -06:00
UtilTest.php Use regex to detect part files 2017-04-26 16:12:48 +02:00