nextcloud-server/tests/lib
Roeland Jago Douma 5b21650097
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-07 11:41:54 +01:00
..
Accounts Use ::class in test mocks 2017-10-24 17:45:32 +02:00
Activity Use ::class in test mocks 2017-10-24 17:45:32 +02:00
App Fix tests 2017-12-18 21:06:52 +01:00
AppFramework Move passwordconfirmation to its own midleware 2018-01-02 21:58:14 +01:00
Archive
Authentication Adjust tests for added lastCheck time 2017-11-27 09:25:03 +01:00
BackgroundJob Use ::class in test mocks 2017-10-24 17:45:32 +02:00
Cache
Calendar implement CalendarManager 2017-11-09 15:14:50 +01:00
Collaboration/Collaborators Fix and tests for MailPlugin 2017-12-16 08:46:03 +01:00
Command Add proper EOL 2017-09-04 14:21:44 +02:00
Comments fix comment sorter 2017-10-30 15:59:43 +01:00
Contacts/ContactsMenu Add filter for shareapi_allow_share_dialog_user_enumeration 2017-09-15 15:58:04 +02:00
DB add postgresql10 compatibility to dbal 2017-11-22 17:57:17 +01:00
Diagnostics
Encryption Use ::class in test mocks of encryption app 2017-10-26 13:56:56 +02:00
Federation
Files removes invalid tests, adapts another one 2018-01-03 21:44:30 +01:00
GlobalScale
Group Use ::class in test mocks 2017-10-24 17:45:32 +02:00
Hooks
Http/Client
IntegrityCheck Fix tests 2017-12-18 21:06:52 +01:00
L10N use formal version of German if default_language is set to 'de_DE' 2017-11-30 17:29:08 +01:00
Lock
Lockdown
Log
Mail Fix email buttons for white theme 2017-12-11 14:33:54 +01:00
Memcache Use ::class in test mocks 2017-10-24 17:45:32 +02:00
Migration Use ::class in test mocks 2017-10-24 17:45:32 +02:00
Notification Use ::class in test mocks 2017-10-24 17:45:32 +02:00
OCS
Preview Don't lie about the preview mimetype 2018-01-07 11:41:54 +01:00
PublicNamespace
Remote Add some more tests for ocs remote api 2017-12-08 16:37:14 +01:00
Repair check if the user still exists before we try to cleanup the previews 2017-11-14 20:26:18 +01:00
RichObjectStrings
Security Fix tests 2017-12-18 21:06:52 +01:00
Session Use ::class in test mocks of encryption app 2017-10-26 13:56:56 +02:00
Settings Use ::class in test mocks 2017-10-24 17:45:32 +02:00
Share Cleanup unused methods 2017-08-15 14:29:26 +02:00
Share20 Fix current access list test and add one for $currentAccess === false 2017-11-28 17:17:34 +01:00
Support/CrashReport Add a mechanism to register crach reporters 2017-11-14 12:20:05 +01:00
SystemTag Use ::class in test mocks 2017-10-24 17:45:32 +02:00
Template Fixed tests 2017-12-30 05:55:45 +01:00
Traits Add some more tests for ocs remote api 2017-12-08 16:37:14 +01:00
Updater Cache final result of update check 2017-12-18 21:48:58 +01:00
User never translate login names when requiring with a user id 2018-01-03 13:25:00 +01:00
Util extend tests for status quo 2018-01-03 13:24:56 +01:00
AllConfigTest.php
APITest.php Use ::class in test mocks 2017-10-24 17:45:32 +02:00
AppConfigTest.php
AppTest.php
AutoLoaderTest.php
AvatarManagerTest.php
AvatarTest.php Fix failing AvatarTest 2017-12-19 18:49:27 +01:00
CapabilitiesManagerTest.php Use ::class in test mocks 2017-10-24 17:45:32 +02:00
ConfigTest.php
ContactsManagerTest.php
DateTimeFormatterTest.php Provide tests for future timestamp formatting 2017-10-23 14:20:21 +02:00
ErrorHandlerTest.php
FileChunkingTest.php Use ::class in test mocks of dav app 2017-10-26 10:16:12 +02:00
FilesTest.php
HelperStorageTest.php
HookHelper.php
HTTPHelperTest.php Use ::class in test mocks 2017-10-24 17:45:32 +02:00
ImageTest.php Remove unused mimetype detection method in OC_Image 2017-11-27 07:46:32 +01:00
InfoXmlTest.php
InstallerTest.php Use cached app list 2017-12-14 09:56:53 +01:00
LargeFileHelperGetFileSizeTest.php
LargeFileHelperTest.php
LegacyHelperTest.php Fixed tests 2017-12-30 05:55:45 +01:00
LoggerTest.php Pass log level to log reporters 2017-11-27 16:46:47 +01:00
NaturalSortTest.php
NavigationManagerTest.php Fix tests 2017-09-21 18:30:20 +02:00
RepairStepTest.php
ServerTest.php
SetupTest.php Get the Installer via DI 2017-11-25 12:00:57 +01:00
SubAdminTest.php
TagsTest.php Merge pull request #6123 from nextcloud/cleanup-shareItem 2017-08-15 13:57:00 +02:00
TemplateFunctionsTest.php
TempManagerTest.php
TestCase.php Use ::class in test mocks 2017-10-24 17:45:32 +02:00
TestMoveableMountPoint.php
UpdaterTest.php Get the Installer via DI 2017-11-25 12:00:57 +01:00
UrlGeneratorTest.php Fixed tests 2017-12-30 05:55:45 +01:00
UserTest.php
UtilCheckServerTest.php
UtilTest.php Use basename() instead of self implementation 2017-11-23 12:35:47 +01:00