Issue Bug Closed

#57490Remove the need of PackageStates.php in tests

Helmut Hummel 04/01/14, 14:14 updated 10/02/18, 11:58

Description

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.

Reviews 1