File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
contrib/dev-tools/container/e2e Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ docker ps
4040
4141# Run E2E tests with shared app instance
4242TORRUST_INDEX_E2E_SHARED=true \
43- TORRUST_INDEX_E2E_PATH_CONFIG =" ./share/default/config/index.e2e.container.mysql.toml" \
43+ TORRUST_INDEX_PATH_CONFIG =" ./share/default/config/index.e2e.container.mysql.toml" \
4444 TORRUST_INDEX_E2E_DB_CONNECT_URL=" mysql://root:root_secret_password@localhost:3306/torrust_index_e2e_testing" \
4545 cargo test ||
4646 {
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ docker ps
3838
3939# Run E2E tests with shared app instance
4040TORRUST_INDEX_E2E_SHARED=true \
41- TORRUST_INDEX_E2E_PATH_CONFIG =" ./share/default/config/index.e2e.container.sqlite3.toml" \
41+ TORRUST_INDEX_PATH_CONFIG =" ./share/default/config/index.e2e.container.sqlite3.toml" \
4242 TORRUST_INDEX_E2E_DB_CONNECT_URL=" sqlite://./storage/index/lib/database/e2e_testing_sqlite3.db?mode=rwc" \
4343 cargo test ||
4444 {
Original file line number Diff line number Diff line change @@ -9,16 +9,16 @@ use torrust_index::config::{Configuration, Info};
99
1010/// The whole `index.toml` file content. It has priority over the config file.
1111/// Even if the file is not on the default path.
12- const ENV_VAR_CONFIG : & str = "TORRUST_INDEX_E2E_CONFIG " ;
12+ const ENV_VAR_CONFIG : & str = "TORRUST_INDEX_CONFIG " ;
1313
1414/// Token needed to communicate with the Torrust Tracker
15- const ENV_VAR_API_ADMIN_TOKEN : & str = "TORRUST_INDEX_E2E_TRACKER_API_TOKEN " ;
15+ const ENV_VAR_API_ADMIN_TOKEN : & str = "TORRUST_INDEX_TRACKER_API_TOKEN " ;
1616
1717/// Secret key used to encrypt and decrypt
18- const ENV_VAR_AUTH_SECRET_KEY : & str = "TORRUST_INDEX_E2E_AUTH_SECRET_KEY " ;
18+ const ENV_VAR_AUTH_SECRET_KEY : & str = "TORRUST_INDEX_AUTH_SECRET_KEY " ;
1919
2020/// The `index.toml` file location.
21- pub const ENV_VAR_PATH_CONFIG : & str = "TORRUST_INDEX_E2E_PATH_CONFIG " ;
21+ pub const ENV_VAR_PATH_CONFIG : & str = "TORRUST_INDEX_PATH_CONFIG " ;
2222
2323// Default values
2424pub const DEFAULT_PATH_CONFIG : & str = "./share/default/config/index.development.sqlite3.toml" ;
@@ -34,7 +34,7 @@ pub const ENV_VAR_DB_CONNECT_URL: &str = "TORRUST_INDEX_E2E_DB_CONNECT_URL";
3434/// There are two methods to inject the configuration:
3535///
3636/// 1. By using a config file: `index.toml`.
37- /// 2. Environment variable: `TORRUST_INDEX_E2E_CONFIG `. The variable contains the same contents as the `index.toml` file.
37+ /// 2. Environment variable: `TORRUST_INDEX_CONFIG `. The variable contains the same contents as the `index.toml` file.
3838///
3939/// Environment variable has priority over the config file.
4040///
You can’t perform that action at this time.
0 commit comments