mojaloop / pisp-project

PISP - Payment Initiation Service Provider integration with Mojaloop
Other
9 stars 12 forks source link

test: add contract tests for tpa endpoints #51

Closed kleyow closed 4 years ago

kleyow commented 4 years ago

@sridharvoruganti the call backs are don't seem to return the body I defined in defaults.json. Is that intended or am I misunderstanding something.

sridharvoruganti commented 4 years ago

@sridharvoruganti the call backs are don't seem to return the body I defined in defaults.json. Is that intended or am I misunderstanding something.

There are 2 types of response "type": "FIXED_CALLBACK" it returns same response whatever configured in default.json "type": "MOCK_CALLBACK", in this case it returns mocked response for each request

kleyow commented 4 years ago

Still figuring out the body issue that I'm experiencing. I've reached out to Vijay but I believe the tests still cover compatibility with between the sdk-scheme-adapter and the switch. So...going to PR this now and fix the body issue in a followup.