sagup02
05/17/2022, 3:40 PMPACT_PROVIDER_NAME
from the environment file (in my case i am running the consumer inside a docker container so a .env file) .
I tried using below code in the test itself but its not overwriting the environment variable.
putenv("PACT_PROVIDER_NAME=some-api");
I am using MockServerEnvConfig()
to get the configurations.
Can someone explain how can we do it ?Matt (pactflow.io / pact-js / pact-go)
EnvConfig
version, and then you can use $config->setProvider('someProvider');
Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
sagup02
05/18/2022, 12:56 PMbefore
condition.
I am thinking about stopping the server when a exception is thrown from test