nextcloud/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 Remove unneeded checks if it runs on a Windows machine 2016-07-08 15:55:17 +02:00
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 Make cache tests a bit more clear 2017-05-04 19:37:40 -03:00
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 Adjust query/event logging code in favour of more complex owncloud/diagnostics (#27643) 2017-04-26 13:19:43 +02:00
Encryption Use ::class in test mocks of encryption app 2017-10-26 13:56:56 +02:00
Federation clean cloud ids 2017-02-09 13:31:06 +01:00
Files removes invalid tests, adapts another one 2018-01-03 21:44:30 +01:00
GlobalScale add new config switched for the global scale architecture 2017-05-29 18:19:28 +02:00
Group Use ::class in test mocks 2017-10-24 17:45:32 +02: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 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 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-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 PrivateData to app 2017-07-21 08:51:14 +02:00
Preview Don't lie about the preview mimetype 2018-01-07 11:41:54 +01:00
PublicNamespace Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
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 Add test and adjust PHP function arguments 2016-11-09 10:49:57 +01:00
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
APITest.php Use ::class in test mocks 2017-10-24 17:45:32 +02:00
AllConfigTest.php Don't use deprecated getMock() anymore 2017-04-20 12:30:21 +02:00
AppConfigTest.php Fix tests 2017-01-12 10:49:22 +01:00
AppTest.php Fix tests 2017-05-20 16:38:32 -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 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 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 14:20:21 +02:00
ErrorHandlerTest.php FIx lib/ a-d 2016-05-19 09:27:21 +02:00
FileChunkingTest.php Use ::class in test mocks of dav app 2017-10-26 10:16:12 +02:00
FilesTest.php Make sure memory limit is > post size and upload filesize 2016-09-13 16:50:36 +02:00
HTTPHelperTest.php Use ::class in test mocks 2017-10-24 17:45:32 +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
ImageTest.php Remove unused mimetype detection method in OC_Image 2017-11-27 07:46:32 +01:00
InfoXmlTest.php Add the AppContainer 2017-03-22 11:24:16 +01:00
InstallerTest.php Use cached app list 2017-12-14 09:56:53 +01: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 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 Fix lib/ 2016-05-19 09:38:52 +02:00
NavigationManagerTest.php Fix tests 2017-09-21 18:30:20 +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 Get the Installer via DI 2017-11-25 12:00:57 +01:00
SubAdminTest.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
TagsTest.php Merge pull request #6123 from nextcloud/cleanup-shareItem 2017-08-15 13:57:00 +02:00
TempManagerTest.php Fix getMock TempManagerTest 2016-09-07 20:42:38 +02:00
TemplateFunctionsTest.php Fix lib/ 2016-05-19 09:38:52 +02:00
TestCase.php Use ::class in test mocks 2017-10-24 17:45:32 +02:00
TestMoveableMountPoint.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
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 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 basename() instead of self implementation 2017-11-23 12:35:47 +01:00