Facing issues mocking RDSDataService
shrutipant7 opened this issue · 1 comments
shrutipant7 commented
Hi,
I'm trying to mock executeStatement method of RDSDataService to test a lambda function but I'm getting this error:
IncompleteSignatureException: Credential must have exactly 5 slash-delimited elements
As per my understanding, the mock should not take the credentials (like access_key_id) from my actual AWS configurations file.
I'm instantiating RDSDataService inside the function to be tested as the guideline mentioned. Anyone who has tried mocking RDSDataService please connect. It'd be a great help.
shrutipant7 commented
#45 Facing issue similar to this.