fix(tests): load CoreTest autoload from core vendor - #2414
Merged
Seiger merged 1 commit intoAug 11, 2026
Conversation
Seiger
marked this pull request as ready for review
August 11, 2026 23:43
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The new CI test job installs Composer dependencies from
core/, so test dependencies andautoload.phpare available undercore/vendor.CoreTestbootstrappedEVO_BASE_PATHas the repository root but still looked forvendor/autoload.phpdirectly under that root, which makes thegetTagsFromContenttest group fail withRun: composer installin CI.Root Cause
The test mixed the public repository root path with the core Composer vendor path.
EVO_CORE_PATHalready points atcore/, so the test should use it for the Composer autoloader.Change Summary
CoreTestautoload fromEVO_CORE_PATH . 'vendor/autoload.php'.EVO_BASE_PATH,EVO_CORE_PATH, storage, manager, and site URL constants unchanged.Validation
git diff --checkLocal runtime checks were limited because PHP/Composer are not available in this Windows shell, WSL failed to start, and Docker Desktop is not running. The change directly matches the CI install layout from
.github/workflows/ci.yml.Risk
Low. The change is scoped to one unit test bootstrap path and does not affect runtime code.