Skip to content

Commit 7c7f008

Browse files
committed
- fixes unit test with leaky implementation
1 parent 6e7acc8 commit 7c7f008

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/java/com/microsoft/graph/functional/BatchTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ public void GetsABatchFromRequests() throws IOException{
6868
assertEquals(200, batchResponse.code());
6969

7070
final MSBatchResponseContent responseContent = new MSBatchResponseContent(batchResponse);
71+
batchResponse.close();
7172

7273
assertEquals(400, responseContent.getResponseById(userPostId).code()); //400:we're not providing enough properties for the call to go through
7374
assertEquals(200, responseContent.getResponseById(meGetId).code());

0 commit comments

Comments
 (0)