You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when i build interaction as below 馃憤 $config = new MockServerEnvConfig();
$builder = new InteractionBuilder($config);
$builder
->uponReceiving('A get request to /hello/{name}')
->with($request)
->willRespondWith($response); // This has to be last. This is what makes an API request to the Mock Server to set the interaction.
Below error is thrown by phpPact:
TypeError: Return value of PhpPact\Consumer\Model\Interaction::getProviderState() must be of the type string, null returned
The text was updated successfully, but these errors were encountered:
when i build interaction as below 馃憤 $config = new MockServerEnvConfig();
$builder = new InteractionBuilder($config);
$builder
->uponReceiving('A get request to /hello/{name}')
->with($request)
->willRespondWith($response); // This has to be last. This is what makes an API request to the Mock Server to set the interaction.
Below error is thrown by phpPact:
TypeError: Return value of PhpPact\Consumer\Model\Interaction::getProviderState() must be of the type string, null returned
The text was updated successfully, but these errors were encountered: