Skip to content

Commit

Permalink
Merge pull request #281 from AzeemMuzammil/fb-fix-failing-tests
Browse files Browse the repository at this point in the history
Fix failing testcases
  • Loading branch information
AzeemMuzammil authored Oct 20, 2023
2 parents c08f66e + fe74190 commit c8839b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github/tests/test.bal
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ function testSearchPullRequest() returns error? {
log:printInfo("githubClient -> testSearchPullRequest()");

string query = string `repo:ballerina-platform/ballerina-extended-library is:pr is:open`;
SearchResult response = check githubClient->search(query, SEARCH_TYPE_ISSUE, 10);
SearchResult response = check githubClient->search(query, SEARCH_TYPE_PULL_REQUEST, 10);
Issue[]|User[]|Organization[]|Repository[]|PullRequest[] result = response.results;
test:assertTrue(result is PullRequest[]);
}
Expand Down

0 comments on commit c8839b7

Please sign in to comment.