Issue Bug Closed

#22825caching framework file backend: Unit test fixes

Christian Kuhn 06/06/10, 16:44 updated 08/12/10, 13:15

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.