Skip to content

Running E2E tests resets the config.toml file in the root dir to default values #130

@josecelano

Description

@josecelano

If you run the E2E tests (./docker/bin/run-e2e-tests.sh), the config.toml file in the root dir is reset to default values. That's because the API allows admins to overwrite the file.

We should change the location for the config.toml file for that test, but it's hardcoded. I'm making some refactorings here that will allow us to easily add a new argument to change the default location for the config.toml file. For example, you could run the app with the following:

cargo run --config ./config.toml

or

TORRUST_IDX_BACK_CONFIG_PATH=./config.toml cargo run

Metadata

Metadata

Assignees

Labels

BugIncorrect BehaviorTestingChecking Torrust

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions