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
Feature: V3 era Generators
...
Scenario: Supports a regex generator # compatibility-suite/pact-compatibility-suite/features/V3/generators.feature:31
Given a request configured with the following generators: # PhpPactTest\CompatibilitySuite\Context\V3\RequestGeneratorsContext::aRequestConfiguredWithTheFollowingGenerators()
| body | generators |
| file: basic.json | randomregex-generator.json |
Verifying a pact between c and p
Interaction 1 (0s loading, 5ms verification)
returns a response which
has status code 200 (FAILED)
has a matching body (OK)
Failures:
1) Verifying a pact between c and p - Interaction 1
1.1) has status code 200
expected 200 but was 500
There were 1 pact failures
When the request is prepared for use # PhpPactTest\CompatibilitySuite\Context\V3\RequestGeneratorsContext::theRequestIsPreparedForUse()
Then the body value for "$.one" will have been replaced with a "string from the regex" # PhpPactTest\CompatibilitySuite\Context\V3\BodyGeneratorsContext::theBodyValueForWillHaveBeenReplacedWithA()
string does not contain a valid JSON object. (JsonPath\InvalidJsonException)
tienvx
changed the title
Compatibility Suite: Random fail on 'V3 era Generators' feature
Compatibility Suite: Random fail on 'Supports a regex generator' scenario
Oct 18, 2024
https://github.com/tienvx/pact-php/actions/runs/11158029525/job/31013436962
The text was updated successfully, but these errors were encountered: