#22825caching framework file backend: Unit test fixes
Description
- glob() returns FALSE on some systems instead of an empty array, count($filesFound) == 0 fails then. Change the code so $filesFound is always an array.
- In flushRemovesAllCacheEntriesAndRelatedTags() the tag filenames are not calculated correctly, so the assertions are never FALSE, even if the tags are not deleted in the filesystem.
- tearDown() is no test and must not have @test annotation.
(issue imported from #M14635)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.