Point defaults and tests at the new script location
Follow-up to the move: config.env and .env default to the project root (the parent of src/), the header says so, and the tests use the new path. Add tests for the location and the defaults. Task: MIL-001#2 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@
|
||||
# shellcheck disable=SC2016,SC2034 # stub and snippet text is literal on purpose; OUT, ERR and STATUS are read by the test files
|
||||
REPO_ROOT="$(cd "${BASH_SOURCE[0]%/*}/.." && pwd)"
|
||||
readonly REPO_ROOT
|
||||
readonly SCRIPT="$REPO_ROOT/create-project.sh"
|
||||
readonly SCRIPT="$REPO_ROOT/src/create-project.sh"
|
||||
|
||||
# Distinctive fake credentials; the tests search all output for them.
|
||||
readonly FAKE_GITEA_TOKEN="giteaFAKEtoken1234567890"
|
||||
|
||||
Reference in New Issue
Block a user