Skip to content

Tests should mock the filesystem consistently #226

@snim2

Description

@snim2

In tests/plugins_test.php we create real directories and files on disk (and add the created directories to .gitignore), whereas in tests/dependencies/updater_test.php we use a virtual filesystem to mock OS calls.

It would be preferable to be consistent here, and mock filesystem calls wherever we can.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions