nextcloud-server/tests/lib
Christoph Wurst adf100a42f
Fix undefined class property access after upgrade from 19 to 20
The serialized data in 19 has one property less and this was not
considered in the code. Hence adding a fallback. Moreover I'm changing
the deserialization into an array instead of object, as that is the
safer option.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-09-07 13:31:24 +07:00
..
Accounts Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +07:00
Activity Fix activity tests again 2020-08-18 18:21:03 +07:00
App Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +07:00
AppFramework More test fixing 2020-08-19 12:40:25 +07:00
Archive Format control structures, classes, methods and function 2020-04-10 14:19:56 +07:00
Authentication Fix undefined class property access after upgrade from 19 to 20 2020-09-07 13:31:24 +07:00
Avatar Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +07:00
BackgroundJob Remove getLastJob from IJobList 2020-08-13 21:50:06 +07:00
Cache Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +07:00
Calendar Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +07:00
Collaboration In case the group backend returns $limit or more results it is expected to contain more results 2020-08-21 13:14:32 +07:00
Command Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +07:00
Comments Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +07:00
Contacts/ContactsMenu Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +07:00
DB Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +07:00
Diagnostics Format control structures, classes, methods and function 2020-04-10 14:19:56 +07:00
DirectEditing Do not expose direct editing if no master key is available 2020-09-01 11:40:27 +07:00
Encryption New SSE key format 2020-08-20 15:42:43 +07:00
Federation Mode to modern phpunit 2019-11-27 15:27:18 +07:00
Files Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +07:00
GlobalScale Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +07:00
Group Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +07:00
Hooks Format control structures, classes, methods and function 2020-04-10 14:19:56 +07:00
Http/Client Do not read certificate bundle from data dir by default 2020-05-25 16:57:56 +07:00
IntegrityCheck Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +07:00
L10N Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +07:00
Lock Use the shorter phpunit syntax for mocked return values 2020-03-25 22:21:27 +07:00
Lockdown Format control structures, classes, methods and function 2020-04-10 14:19:56 +07:00
Log Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +07:00
Mail Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +07:00
Memcache Add visibility to all constants 2020-04-10 16:54:27 +07:00
Migration Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +07:00
Notification Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +07:00
OCS Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +07:00
Preview Fix existing test and add a specific one for the new case 2020-08-13 23:24:21 +07:00
PublicNamespace Format control structures, classes, methods and function 2020-04-10 14:19:56 +07:00
Remote Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +07:00
Repair Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +07:00
RichObjectStrings Format control structures, classes, methods and function 2020-04-10 14:19:56 +07:00
Route Only load routes of the app which is requested 2020-08-19 21:58:20 +07:00
Security Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +07:00
Session Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +07:00
Settings Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +07:00
Share Update share type constant usage 2020-06-24 16:49:16 +07:00
Share20 Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +07:00
Support Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +07:00
SystemTag Format control structures, classes, methods and function 2020-04-10 14:19:56 +07:00
Template Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +07:00
Traits Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +07:00
Updater Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +07:00
User Fix unit tests 2020-08-19 11:20:36 +07:00
Util Format control structures, classes, methods and function 2020-04-10 14:19:56 +07:00
APITest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +07:00
AllConfigTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +07:00
AppConfigTest.php Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +07:00
AppTest.php Add visibility to all constants 2020-04-10 16:54:27 +07:00
AutoLoaderTest.php Remove trailing and in between spaces 2020-04-09 16:07:47 +07:00
CapabilitiesManagerTest.php Unify function spacing to PSR2 recommendation 2020-04-09 13:54:22 +07:00
ConfigTest.php Remove deprecated test of internal attributes via assertAttributeEquals 2020-07-23 17:11:29 +07:00
ContactsManagerTest.php Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +07:00
DateTimeFormatterTest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +07:00
ErrorHandlerTest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +07:00
FileChunkingTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +07:00
HelperStorageTest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +07:00
HookHelper.php Use the short array syntax, everywhere 2020-03-26 16:34:56 +07:00
ImageTest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +07:00
InfoXmlTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +07:00
InitialStateServiceTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +07:00
InstallerTest.php Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +07:00
LargeFileHelperGetFileSizeTest.php Don't use deprecated getIniWrapper() anymore 2020-08-20 16:35:38 +07:00
LargeFileHelperTest.php Mode to modern phpunit 2019-11-27 15:27:18 +07:00
LegacyHelperTest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +07:00
LoggerTest.php Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +07:00
MemoryInfoTest.php Use a blank line after the opening tag 2020-04-09 11:50:14 +07:00
NaturalSortTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +07:00
NavigationManagerTest.php Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +07:00
RepairStepTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +07:00
ServerTest.php Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +07:00
SetupTest.php Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +07:00
SubAdminTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +07:00
TagsTest.php Tags.php and the old sharing mechanism 2020-07-06 14:12:12 +07:00
TempManagerTest.php Remove unneeded import 2020-08-20 16:53:34 +07:00
TemplateFunctionsTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +07:00
TestCase.php Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +07:00
TestMoveableMountPoint.php
UpdaterTest.php Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +07:00
UrlGeneratorTest.php Properly inject IRouter into URLGenerator to properly encapsulate tests 2020-08-19 22:00:47 +07:00
UtilCheckServerTest.php Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +07:00
UtilTest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +07:00