Review main Merged

29021[BUGFIX] Remove the need of PackageStates.php in tests

Helmut Hummel CR +2 V +2 Easy +3 −3 updated 04/01/14, 18:58

Commit message

Although there is code in the package manager tests
to mock a PackageStates.php file, it does not work
as the path to the file is hardcoded in the initialize
action.

Move the code for setting the path and creating
the package factory to the constructor
and move the mocking of the path before initializing
in the test.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 2