Repository navigation
test: Improve TestHasConfigNameOverride so it doesn't leave projects after completion, fixes #7797 - #7798
Merged
Conversation
…after completion, fixes #7797
TestCmdList was fragile because it manually modified and restored global_config.yaml. This changes it to use the XDG_CONFIG_HOME pattern as demonstrated in TestCmdStartShowsSponsorshipData. Changes: - Use testcommon.CopyGlobalDdevDir() for isolated config directory - Clear project_list.yaml before ddev start -a to prevent stale Test* projects from interfering - Convert assert to require throughout for better test failure handling - Fix ineffectual assignment to err caught by golangci-lint 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
|
Download the artifacts for this pull request:
See Testing a PR. |
rfay
added a commit
that referenced
this pull request
Nov 10, 2025
…after completion, fixes #7797 (#7798) Co-authored-by: Claude <[email protected]>
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.
The Issue
How This PR Solves The Issue
Manual Testing Instructions
Review test output, mostly on Windows
Notes
ddev delete <name>can't work here.