gsmainclusivetechlab / interop-test-platform

MIT License
6 stars 1 forks source link

Validation of MMAPI spec is failing on the test cases #622

Closed cesdias closed 2 years ago

cesdias commented 2 years ago

Test cases are failing on the Request step of the MMAPI validation spec.

Steps to reproduce

  1. Create a Manual test case and select the Payee-initiated (debitParty and creditParty sent) - callback - success.
  2. O SUT Selection, just click Next.
  3. On the next screen, click Confirm.
  4. Click on the test name on the right of the screen. In the next screen, click Run Test Case button on the top right.
  5. Once the tests is perfomed, you will see:

image

  1. Click on Request: MM v1.1.3 API Spec validation to see the following error:
Argument 2 passed to League\OpenAPIValidation\Schema\Keywords\Nullable::validate() must be of the type bool, null given, called in /var/www/html/vendor/league/openapi-psr7-validator/src/Schema/SchemaValidator.php on line 60

Expected outcome

The Request: MM v1.1.3 API Spec validation should PASS.

Actual outcome

The validation of the MMAPI spec failed.

Note: This may be related to recent bug in the library that validates openapi specs. See https://github.com/thephpleague/openapi-psr7-validator/pull/155

cesdias commented 2 years ago

@yvoitenko updating openapi-psr7-validator to 0.17 solves the error.