[Improvement]: Test Double approach doesn't work as expected for function calls with path parameters #40810
Labels
Area/TestFramework
Team/DevTools
Ballerina Developer Tooling ( CLI, Test FW, Package Management, OpenAPI, APIDocs )
Type/Improvement
Description
Trying to create a test double for
githubRestClient
in this example. Since the example include the function call with path parameters(self.githubRestClient->/users/[owner]/repos;
), I have used the following approach with appropriate return values.When running the
bal test
command, it returnserror: there are test failures
.Describe your problem(s)
No response
Describe your solution(s)
No response
Related area
-> Test Framework
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered: