Skip to content

Commit 9075ed1

Browse files
committed
fix: update application test to find config templates in infrastructure layer
- Update application test to look for templates in infrastructure/config/templates/application - Fixes CI warning about missing application/config/templates directory - Aligns with twelve-factor architecture where config is managed at infrastructure layer - Resolves final CI warning before staging deployment testing
1 parent 3a2c4b6 commit 9075ed1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

application/tests/test-unit-application.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,12 @@ test_application_config() {
9494
log_info "No environment files found (normal for CI, generated during deployment)"
9595
fi
9696

97-
# Test that configuration templates exist
98-
local template_dir="${APPLICATION_ROOT}/config/templates"
97+
# Test that configuration templates exist (in infrastructure layer)
98+
local template_dir="${PROJECT_ROOT}/infrastructure/config/templates/application"
9999
if [[ -d "${template_dir}" ]]; then
100-
log_info "Configuration templates directory found: ${template_dir}"
100+
log_info "Application configuration templates found: ${template_dir}"
101101
else
102-
log_warning "Configuration templates directory not found: ${template_dir}"
102+
log_warning "Application configuration templates not found: ${template_dir}"
103103
fi
104104

105105
if [[ ${failed} -eq 0 ]]; then

0 commit comments

Comments
 (0)