Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-25676 Update Flysystem to 1.0.x
  3. EZP-25963

Remove usage of Flysystem\Filesystem::flushCache() from tests

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: High
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: Permissions, Security
    • Labels:
      None

      Description

      This error occurs multiple times in tests:

      eZ\Publish\Core\Repository\Tests\Service\Integration\Legacy\ContentTest::testLoadContentInfo}}
      BadMethodCallException: Call to undefined method League\Flysystem\Filesystem::flushCache
      

      We call Flysystem's flushCache() when emptying the var directory in the setup factory. Since cache has been moved out of the Flysystem core, we should be able to remove that call.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            bertrand.dunogier@ez.no Bertrand Dunogier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: