mirror of
https://github.com/nextcloud/server.git
synced 2026-06-17 12:42:50 -04:00
Eight test classes overrode tearDown() for custom DB cleanup but never called parent::tearDown(). TestCase::tearDown() does three things these tests were silently skipping after every test method: - ILockingProvider::releaseAll() — unreleased locks bleed into subsequent tests and can cause deadlocks or unexpected NotFoundException - Storage::getGlobalCache()->clearCache() — stale filecache entries from share/storage tests cause unrelated ObjectStore tests to receive false from fopen() (fseek() then fails with "Argument must be of type resource") - UserMountCache::flush() — stale mount cache causes share lookups in later tests to fail with ShareNotFound AI-Assisted-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Anna Larch <anna@nextcloud.com> |
||
|---|---|---|
| .. | ||
| AppData | ||
| Cache | ||
| Config | ||
| Mount | ||
| Node | ||
| ObjectStore | ||
| Search | ||
| SimpleFS | ||
| Storage | ||
| Stream | ||
| Template | ||
| Type | ||
| Utils | ||
| EtagTest.php | ||
| FileInfoTest.php | ||
| FilenameValidatorTest.php | ||
| FilesystemTest.php | ||
| PathVerificationTest.php | ||
| SetupManagerTest.php | ||
| ViewTest.php | ||