Currently when we load a module we call WordPoints_Module_Paths::register() we pass it the real path, not the module directory path. This means that the correct path is not registered, resulting in the wrong Installable slug, among other things.
However, this isn't as simple as just calculating the module path, because the module directory will be the tests module directory during the tests. See WordPoints/wordpoints#430 (comment). This may require a change in WordPoints PHPUnit bootstrap.
Currently when we load a module we call
WordPoints_Module_Paths::register()we pass it the real path, not the module directory path. This means that the correct path is not registered, resulting in the wrong Installable slug, among other things.However, this isn't as simple as just calculating the module path, because the module directory will be the tests module directory during the tests. See WordPoints/wordpoints#430 (comment). This may require a change in WordPoints PHPUnit bootstrap.