From fe74190644e152505cc8ee0c9b8490183a995fc4 Mon Sep 17 00:00:00 2001 From: Azeem Muzammil Date: Fri, 20 Oct 2023 14:51:45 +0530 Subject: [PATCH] Fix failing test cases --- github/tests/test.bal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github/tests/test.bal b/github/tests/test.bal index ff8048e..fc0f6b4 100644 --- a/github/tests/test.bal +++ b/github/tests/test.bal @@ -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[]); }