mirror of
https://github.com/nextcloud/server.git
synced 2025-10-26 19:21:34 +00:00
The update share tests only checked that the share returned by "update()" had the expected values. However, as "update()" returns the same share that was given as a parameter the tests were not really verifying that the values were updated in the database. In a similar way, the test that checked that a password was removed did not set a password first, so even if the database returned null it could be simply returning the default value for the share; a password must be set first to ensure that it is removed. Besides that, a typo was fixed too that made the checks on the original share instead of on the one returned by "update()"; right now it is the same share, so the change makes no difference, but it is how the check should be done anyway. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com> |
||
|---|---|---|
| .. | ||
| Accounts | ||
| Activity | ||
| App | ||
| AppFramework | ||
| Archive | ||
| Authentication | ||
| BackgroundJob | ||
| Cache | ||
| Calendar | ||
| Collaboration/Collaborators | ||
| Command | ||
| Comments | ||
| Contacts/ContactsMenu | ||
| DB | ||
| Diagnostics | ||
| Encryption | ||
| Federation | ||
| Files | ||
| GlobalScale | ||
| Group | ||
| Hooks | ||
| Http/Client | ||
| IntegrityCheck | ||
| L10N | ||
| Lock | ||
| Lockdown | ||
| Log | ||
| Memcache | ||
| Migration | ||
| Notification | ||
| OCS | ||
| Preview | ||
| PublicNamespace | ||
| Remote | ||
| Repair | ||
| RichObjectStrings | ||
| Security | ||
| Session | ||
| Settings | ||
| Share | ||
| Share20 | ||
| Support/CrashReport | ||
| SystemTag | ||
| Template | ||
| Traits | ||
| Updater | ||
| User | ||
| Util | ||
| AllConfigTest.php | ||
| APITest.php | ||
| AppConfigTest.php | ||
| AppTest.php | ||
| AutoLoaderTest.php | ||
| AvatarManagerTest.php | ||
| AvatarTest.php | ||
| CapabilitiesManagerTest.php | ||
| ConfigTest.php | ||
| ContactsManagerTest.php | ||
| DateTimeFormatterTest.php | ||
| ErrorHandlerTest.php | ||
| FileChunkingTest.php | ||
| FilesTest.php | ||
| HelperStorageTest.php | ||
| HookHelper.php | ||
| ImageTest.php | ||
| InfoXmlTest.php | ||
| InstallerTest.php | ||
| LargeFileHelperGetFileSizeTest.php | ||
| LargeFileHelperTest.php | ||
| LegacyHelperTest.php | ||
| LoggerTest.php | ||
| MemoryInfoTest.php | ||
| NaturalSortTest.php | ||
| NavigationManagerTest.php | ||
| RepairStepTest.php | ||
| ServerTest.php | ||
| SetupTest.php | ||
| SubAdminTest.php | ||
| TagsTest.php | ||
| TemplateFunctionsTest.php | ||
| TempManagerTest.php | ||
| TestCase.php | ||
| TestMoveableMountPoint.php | ||
| UpdaterTest.php | ||
| UrlGeneratorTest.php | ||
| UtilCheckServerTest.php | ||
| UtilTest.php | ||