File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed
Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -171,23 +171,6 @@ func Test_PATH_E2E(t *testing.T) {
171171 printServiceSummaries (serviceSummaries )
172172}
173173
174- func testGatewayConfigViaEnv (t * testing.T , ctx context.Context , ts * TestService ) {
175- data , err := os .ReadFile (filePath )
176- if err != nil {
177- t .Fatalf ("Failed to read fs: %v" , err )
178- }
179-
180- yamlString := string (data )
181-
182- if err = os .Setenv ("GATEWAY_CONFIG" , yamlString ); err != nil {
183- t .Fatalf ("Failed to set env variable: %v" , err )
184- }
185-
186- if err = LoadGatewayConfigFromEnv (); err != nil {
187- t .Fatalf ("Failed to get config from yaml: %v" , err )
188- }
189- }
190-
191174// runAllServiceTests orchestrates either HTTP or Websocket tests based on test mode.
192175// This function runs either HTTP tests OR Websocket tests, never both.
193176func runAllServiceTests (t * testing.T , ctx context.Context , ts * TestService ) {
You can’t perform that action at this time.
0 commit comments