fix: inject WeChat settings into API container
This commit is contained in:
1 parent
8c253918d9
commit
0803c9ed5b
2 files changed
+13
No files matched your search
@@ -0,0 +1,11 @@
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
COMPOSE_PATH = Path(__file__).parents[1] / "docker-compose.yml"
|
||||
|
||||
|
||||
def test_api_compose_forwards_wechat_miniapp_settings_from_host_environment():
|
||||
compose = COMPOSE_PATH.read_text(encoding="utf-8")
|
||||
|
||||
assert "WECHAT_MINIAPP_APPID: ${WECHAT_MINIAPP_APPID:-}" in compose
|
||||
assert "WECHAT_MINIAPP_SECRET: ${WECHAT_MINIAPP_SECRET:-}" in compose
|
||||
Reference in new issue
Block a user