@@ -149,6 +149,7 @@ func TestSiteComponentInheritance(t *testing.T) {
149149 "team_id" : "test-team-override" ,
150150 "api_token" : "test-token-override" ,
151151 "project_config" : map [string ]any {
152+ "serverless_function_region" : "iad1" ,
152153 "manual_production_deployment" : false ,
153154 "environment_variables" : siteVariables ,
154155 },
@@ -165,7 +166,9 @@ func TestSiteComponentInheritance(t *testing.T) {
165166
166167 componentData := map [string ]any {
167168 "project_config" : map [string ]any {
168- "environment_variables" : componentVariables ,
169+ "serverless_function_region" : "fra1" ,
170+ "manual_production_deployment" : true ,
171+ "environment_variables" : componentVariables ,
169172 },
170173 }
171174
@@ -180,6 +183,8 @@ func TestSiteComponentInheritance(t *testing.T) {
180183 require .NoError (t , err )
181184
182185 // Test whether environment variables get extended
186+ assert .Contains (t , component .Variables , "serverless_function_region = \" fra1\" " )
187+ assert .Contains (t , component .Variables , "manual_production_deployment = true" )
183188 assert .Contains (t , component .Variables , "key = \" TEST_ENVIRONMENT_VARIABLE_2\" " )
184189 assert .Contains (t , component .Variables , "key = \" TEST_ENVIRONMENT_VARIABLE_3\" " )
185190
0 commit comments