]> source.dussan.org Git - nextcloud-server.git/commit
Use the shorter phpunit syntax for mocked return values 20172/head
authorChristoph Wurst <christoph@winzerhof-wurst.at>
Wed, 25 Mar 2020 21:21:27 +0000 (22:21 +0100)
committerChristoph Wurst <christoph@winzerhof-wurst.at>
Wed, 25 Mar 2020 21:21:27 +0000 (22:21 +0100)
commit2ee65f177e4f7e09ad2287f14d564e7068d322fb
tree39075e87ea7927e20e8956824cb7c49bf626b178
parent3cf321fdfc4235a87015a9af2f59c63220016c65
Use the shorter phpunit syntax for mocked return values

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
230 files changed:
apps/comments/tests/Unit/Notification/ListenerTest.php
apps/comments/tests/Unit/Notification/NotifierTest.php
apps/dav/tests/unit/AppInfo/PluginManagerTest.php
apps/dav/tests/unit/BackgroundJob/CleanupInvitationTokenJobTest.php
apps/dav/tests/unit/BackgroundJob/GenerateBirthdayCalendarBackgroundJobTest.php
apps/dav/tests/unit/BackgroundJob/RefreshWebcalJobTest.php
apps/dav/tests/unit/BackgroundJob/RegisterRegenerateBirthdayCalendarsTest.php
apps/dav/tests/unit/BackgroundJob/UpdateCalendarResourcesRoomsBackgroundJobTest.php
apps/dav/tests/unit/CalDAV/BirthdayCalendar/EnablePluginTest.php
apps/dav/tests/unit/CalDAV/CachedSubscriptionObjectTest.php
apps/dav/tests/unit/CalDAV/CachedSubscriptionTest.php
apps/dav/tests/unit/CalDAV/CalDavBackendTest.php
apps/dav/tests/unit/CalDAV/CalendarHomeTest.php
apps/dav/tests/unit/CalDAV/CalendarImplTest.php
apps/dav/tests/unit/CalDAV/CalendarManagerTest.php
apps/dav/tests/unit/CalDAV/CalendarTest.php
apps/dav/tests/unit/CalDAV/OutboxTest.php
apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/EmailProviderTest.php
apps/dav/tests/unit/CalDAV/ResourceBooking/AbstractPrincipalBackendTest.php
apps/dav/tests/unit/CalDAV/Schedule/IMipPluginTest.php
apps/dav/tests/unit/CalDAV/Search/SearchPluginTest.php
apps/dav/tests/unit/CalDAV/WebcalCaching/PluginTest.php
apps/dav/tests/unit/CalDAV/WebcalCaching/RefreshWebcalServiceTest.php
apps/dav/tests/unit/CardDAV/BirthdayServiceTest.php
apps/dav/tests/unit/Comments/CommentsNodeTest.php
apps/dav/tests/unit/Comments/CommentsPluginTest.php
apps/dav/tests/unit/Comments/EntityCollectionTest.php
apps/dav/tests/unit/Comments/RootCollectionTest.php
apps/dav/tests/unit/Connector/Sabre/AuthTest.php
apps/dav/tests/unit/Connector/Sabre/BlockLegacyClientPluginTest.php
apps/dav/tests/unit/Connector/Sabre/CommentsPropertiesPluginTest.php
apps/dav/tests/unit/Connector/Sabre/CustomPropertiesBackendTest.php
apps/dav/tests/unit/Connector/Sabre/DirectoryTest.php
apps/dav/tests/unit/Connector/Sabre/FakeLockerPluginTest.php
apps/dav/tests/unit/Connector/Sabre/FileTest.php
apps/dav/tests/unit/Connector/Sabre/FilesPluginTest.php
apps/dav/tests/unit/Connector/Sabre/FilesReportPluginTest.php
apps/dav/tests/unit/Connector/Sabre/MaintenancePluginTest.php
apps/dav/tests/unit/Connector/Sabre/NodeTest.php
apps/dav/tests/unit/Connector/Sabre/ObjectTreeTest.php
apps/dav/tests/unit/Connector/Sabre/PrincipalTest.php
apps/dav/tests/unit/Connector/Sabre/QuotaPluginTest.php
apps/dav/tests/unit/Connector/Sabre/RequestTest/PartFileInRootUploadTest.php
apps/dav/tests/unit/Connector/Sabre/SharesPluginTest.php
apps/dav/tests/unit/Connector/Sabre/TagsPluginTest.php
apps/dav/tests/unit/Controller/BirthdayCalendarControllerTest.php
apps/dav/tests/unit/Controller/InvitationResponseControllerTest.php
apps/dav/tests/unit/DAV/CustomPropertiesBackendTest.php
apps/dav/tests/unit/DAV/GroupPrincipalTest.php
apps/dav/tests/unit/DAV/HookManagerTest.php
apps/dav/tests/unit/Files/FileSearchBackendTest.php
apps/dav/tests/unit/Files/Sharing/FilesDropPluginTest.php
apps/dav/tests/unit/Migration/RefreshWebcalJobRegistrarTest.php
apps/dav/tests/unit/SystemTag/SystemTagMappingNodeTest.php
apps/dav/tests/unit/SystemTag/SystemTagNodeTest.php
apps/dav/tests/unit/SystemTag/SystemTagPluginTest.php
apps/dav/tests/unit/SystemTag/SystemTagsByIdCollectionTest.php
apps/dav/tests/unit/SystemTag/SystemTagsObjectMappingCollectionTest.php
apps/dav/tests/unit/SystemTag/SystemTagsObjectTypeCollectionTest.php
apps/dav/tests/unit/Upload/ChunkingPluginTest.php
apps/encryption/tests/Controller/RecoveryControllerTest.php
apps/encryption/tests/Controller/SettingsControllerTest.php
apps/encryption/tests/Controller/StatusControllerTest.php
apps/encryption/tests/Crypto/EncryptionTest.php
apps/encryption/tests/Hooks/UserHooksTest.php
apps/encryption/tests/RecoveryTest.php
apps/encryption/tests/SessionTest.php
apps/encryption/tests/UtilTest.php
apps/federatedfilesharing/tests/FederatedShareProviderTest.php
apps/files/tests/BackgroundJob/ScanFilesTest.php
apps/files/tests/Controller/ApiControllerTest.php
apps/files/tests/Controller/ViewControllerTest.php
apps/files/tests/Service/TagServiceTest.php
apps/files_external/tests/Auth/Password/GlobalAuth.php
apps/files_external/tests/Command/ApplicableTest.php
apps/files_external/tests/Command/CommandTest.php
apps/files_external/tests/Controller/StoragesControllerTest.php
apps/files_external/tests/Controller/UserStoragesControllerTest.php
apps/files_external/tests/FrontendDefinitionTraitTest.php
apps/files_external/tests/PersonalMountTest.php
apps/files_external/tests/Service/BackendServiceTest.php
apps/files_external/tests/Service/StoragesServiceTest.php
apps/files_external/tests/Service/UserGlobalStoragesServiceTest.php
apps/files_external/tests/Service/UserStoragesServiceTest.php
apps/files_sharing/tests/ApiTest.php
apps/files_sharing/tests/CapabilitiesTest.php
apps/files_sharing/tests/Controller/ShareAPIControllerTest.php
apps/files_sharing/tests/Controller/ShareControllerTest.php
apps/files_sharing/tests/Controller/ShareesAPIControllerTest.php
apps/files_sharing/tests/External/CacheTest.php
apps/files_sharing/tests/Middleware/OCSShareAPIMiddlewareTest.php
apps/files_sharing/tests/Middleware/SharingCheckMiddlewareTest.php
apps/files_sharing/tests/MountProviderTest.php
apps/files_trashbin/tests/StorageTest.php
apps/files_trashbin/tests/TrashbinTest.php
apps/files_versions/tests/VersioningTest.php
apps/oauth2/tests/Controller/OauthApiControllerTest.php
apps/oauth2/tests/Controller/SettingsControllerTest.php
apps/provisioning_api/tests/Controller/GroupsControllerTest.php
apps/provisioning_api/tests/Controller/UsersControllerTest.php
apps/settings/tests/Activity/SecurityFilterTest.php
apps/settings/tests/Activity/SecuritySettingTest.php
apps/settings/tests/Controller/AppSettingsControllerTest.php
apps/settings/tests/Controller/CertificateControllerTest.php
apps/settings/tests/Controller/CheckSetupControllerTest.php
apps/settings/tests/Controller/MailSettingsControllerTest.php
apps/settings/tests/Controller/UsersControllerTest.php
apps/settings/tests/Mailer/NewUserMailHelperTest.php
apps/settings/tests/Middleware/SubadminMiddlewareTest.php
apps/sharebymail/tests/ShareByMailProviderTest.php
apps/theming/tests/Controller/ThemingControllerTest.php
apps/twofactor_backupcodes/tests/Db/BackupCodeMapperTest.php
apps/twofactor_backupcodes/tests/Service/BackupCodeStorageTest.php
apps/twofactor_backupcodes/tests/Unit/BackgroundJob/CheckBackupCodeTest.php
apps/twofactor_backupcodes/tests/Unit/Controller/SettingsControllerTest.php
apps/twofactor_backupcodes/tests/Unit/Listener/ActivityPublisherTest.php
apps/twofactor_backupcodes/tests/Unit/Provider/BackupCodesProviderTest.php
apps/twofactor_backupcodes/tests/Unit/Service/BackupCodeStorageTest.php
apps/user_ldap/tests/AccessTest.php
apps/user_ldap/tests/ConnectionTest.php
apps/user_ldap/tests/Group_LDAPTest.php
apps/user_ldap/tests/HelperTest.php
apps/user_ldap/tests/Jobs/CleanUpTest.php
apps/user_ldap/tests/User/ManagerTest.php
apps/user_ldap/tests/User/UserTest.php
apps/user_ldap/tests/User_LDAPTest.php
apps/user_ldap/tests/WizardTest.php
apps/workflowengine/tests/ManagerTest.php
tests/Core/Command/Config/System/SetConfigTest.php
tests/Core/Command/Log/FileTest.php
tests/Core/Command/Log/ManageTest.php
tests/Core/Command/Maintenance/Mimetype/UpdateDBTest.php
tests/Core/Controller/AvatarControllerTest.php
tests/Core/Controller/ChangePasswordControllerTest.php
tests/Core/Controller/ClientFlowLoginControllerTest.php
tests/Core/Controller/ClientFlowLoginV2ControllerTest.php
tests/Core/Controller/CssControllerTest.php
tests/Core/Controller/JsControllerTest.php
tests/Core/Controller/LoginControllerTest.php
tests/Core/Controller/LostControllerTest.php
tests/Core/Controller/TwoFactorChallengeControllerTest.php
tests/Core/Controller/UserControllerTest.php
tests/Core/Middleware/TwoFactorMiddlewareTest.php
tests/lib/APITest.php
tests/lib/AllConfigTest.php
tests/lib/App/AppManagerTest.php
tests/lib/App/AppStore/Bundles/BundleBase.php
tests/lib/App/AppStore/Fetcher/AppFetcherTest.php
tests/lib/App/AppStore/Fetcher/CategoryFetcherTest.php
tests/lib/App/DependencyAnalyzerTest.php
tests/lib/AppFramework/AppTest.php
tests/lib/AppFramework/Controller/AuthPublicShareControllerTest.php
tests/lib/AppFramework/Controller/ControllerTest.php
tests/lib/AppFramework/Db/MapperTest.php
tests/lib/AppFramework/Db/MapperTestUtility.php
tests/lib/AppFramework/Http/DispatcherTest.php
tests/lib/AppFramework/Http/RequestTest.php
tests/lib/AppFramework/Http/StreamResponseTest.php
tests/lib/AppFramework/Middleware/MiddlewareDispatcherTest.php
tests/lib/AppFramework/Middleware/Security/CORSMiddlewareTest.php
tests/lib/AppFramework/Middleware/Security/SecurityMiddlewareTest.php
tests/lib/AppFramework/Routing/RoutingTest.php
tests/lib/AppTest.php
tests/lib/Authentication/Token/DefaultTokenProviderTest.php
tests/lib/Authentication/Token/PublicKeyTokenProviderTest.php
tests/lib/Authentication/TwoFactorAuth/ManagerTest.php
tests/lib/Authentication/TwoFactorAuth/ProviderLoaderTest.php
tests/lib/Avatar/UserAvatarTest.php
tests/lib/BackgroundJob/JobListTest.php
tests/lib/Cache/FileCacheTest.php
tests/lib/Calendar/ManagerTest.php
tests/lib/Calendar/Resource/ManagerTest.php
tests/lib/Calendar/Room/ManagerTest.php
tests/lib/Command/Integrity/SignAppTest.php
tests/lib/Command/Integrity/SignCoreTest.php
tests/lib/Comments/ManagerTest.php
tests/lib/Contacts/ContactsMenu/ActionProviderStoreTest.php
tests/lib/ContactsManagerTest.php
tests/lib/DB/MDB2SchemaReaderTest.php
tests/lib/Encryption/Keys/StorageTest.php
tests/lib/Encryption/UtilTest.php
tests/lib/FileChunkingTest.php
tests/lib/Files/Cache/CacheTest.php
tests/lib/Files/Config/UserMountCacheTest.php
tests/lib/Files/Mount/MountPointTest.php
tests/lib/Files/Node/FileTest.php
tests/lib/Files/Node/FolderTest.php
tests/lib/Files/Node/NodeTest.php
tests/lib/Files/Node/RootTest.php
tests/lib/Files/Storage/Wrapper/QuotaTest.php
tests/lib/Files/Stream/EncryptionTest.php
tests/lib/Files/Type/DetectionTest.php
tests/lib/Files/Utils/ScannerTest.php
tests/lib/Files/ViewTest.php
tests/lib/Group/GroupTest.php
tests/lib/Group/ManagerTest.php
tests/lib/Group/MetaDataTest.php
tests/lib/HelperStorageTest.php
tests/lib/IntegrityCheck/CheckerTest.php
tests/lib/L10N/FactoryTest.php
tests/lib/LegacyHelperTest.php
tests/lib/Lock/DBLockingProviderTest.php
tests/lib/Mail/MailerTest.php
tests/lib/Mail/MessageTest.php
tests/lib/Memcache/CasTraitTest.php
tests/lib/OCS/ProviderTest.php
tests/lib/Preview/GeneratorTest.php
tests/lib/Repair/RepairInvalidSharesTest.php
tests/lib/Repair/RepairMimeTypesTest.php
tests/lib/RepairStepTest.php
tests/lib/Security/Bruteforce/ThrottlerTest.php
tests/lib/Security/CredentialsManagerTest.php
tests/lib/Security/TrustedDomainHelperTest.php
tests/lib/Settings/ManagerTest.php
tests/lib/SetupTest.php
tests/lib/Share20/DefaultShareProviderTest.php
tests/lib/Share20/LegacyHooksTest.php
tests/lib/Share20/ManagerTest.php
tests/lib/SystemTag/SystemTagManagerTest.php
tests/lib/SystemTag/SystemTagObjectMapperTest.php
tests/lib/TagsTest.php
tests/lib/Template/JSCombinerTest.php
tests/lib/Template/SCSSCacherTest.php
tests/lib/TestCase.php
tests/lib/Updater/VersionCheckTest.php
tests/lib/User/ManagerTest.php
tests/lib/User/SessionTest.php
tests/lib/User/UserTest.php
tests/lib/UtilCheckServerTest.php
tests/lib/UtilTest.php