Skip to content

Commit

Permalink
Merge branch 'minor/iso' of github.com:mojaloop/testing-toolkit-test-…
Browse files Browse the repository at this point in the history
…cases into minor/iso
  • Loading branch information
oderayi committed Jan 29, 2025
2 parents 2843785 + 5f8e577 commit f0a0a79
Show file tree
Hide file tree
Showing 3 changed files with 2,190 additions and 5 deletions.
9 changes: 4 additions & 5 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# LICENSE

Copyright © 2021 Mojaloop Foundation
Copyright © 2020-2024 Mojaloop Foundation

The Mojaloop files are made available by the Mojaloop Foundation under the Apache License, Version 2.0
(the "License") and you may not use these files except in compliance with the [License](http://www.apache.org/licenses/LICENSE-2.0).
The Mojaloop files are made available by the Mojaloop Foundation under the Apache License, Version 2.0 (the "License") and you may not use these files except in compliance with the License.

You may obtain a copy of the License at [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, the Mojaloop files are distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the [License](http://www.apache.org/licenses/LICENSE-2.0).
Unless required by applicable law or agreed to in writing, the Mojaloop files are distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
45 changes: 45 additions & 0 deletions collections/hub/provisioning/new_participants/new_dfsp.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,51 @@
}
]
}
},
{
"id": 3,
"meta": {
"info": "Register MSISDN Oracle"
},
"description": "Register MSISDN Oracle",
"apiVersion": {
"minorVersion": 1,
"majorVersion": 1,
"type": "als_admin"
},
"operationPath": "/oracles",
"path": "/oracles",
"method": "post",
"body": {
"oracleIdType": "MSISDN",
"endpoint": {
"value": "{$inputs.HOST_ORACLE_MSISDN}",
"endpointType": "URL"
},
"currency": "{$inputs.currency}",
"isDefault": true
},
"headers": {
"Content-Type": "application/vnd.interoperability.participants+json;version=1.0",
"Accept": "application/vnd.interoperability.participants+json;version=1",
"Date": "{$function.generic.curDate}"
},
"url": "{$inputs.HOST_ACCOUNT_LOOKUP_ADMIN}",
"tests": {
"assertions": [
{
"id": 1,
"description": "status to be 201 or errorCode 2001 already exists",
"exec": [
"if (response.body.errorInformation) {",
" expect(response.body.errorInformation.errorCode).to.equal(\"2001\")",
"} else {",
" expect(response.status).to.equal(201)",
"}"
]
}
]
}
}
]
},
Expand Down
Loading

0 comments on commit f0a0a79

Please sign in to comment.