Skip to content

Commit 41c876d

Browse files
author
Nakul Sabharwal
committed
Added line breaks for readability.
1 parent 43cc485 commit 41c876d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,14 +486,16 @@ public void testMultipartPostWithHeadersMap() throws Exception{
486486
assertEquals(expectedRequestUrl, pageReq.getRequestUrl());
487487
IOnenotePageCollectionRequest request = pageReq.buildRequest(options);
488488
assertNotNull(request);
489+
489490
OnenotePageCollectionRequest pageCollectionReq = (OnenotePageCollectionRequest)request;
490491
List<HeaderOption> headeroption = pageCollectionReq.getHeaders();
491492
assertEquals("Content-Type", headeroption.get(0).getName());
493+
492494
String expectedHeaderValue = "multipart/form-data; boundary=\""+multipart.getBoundary()+"\"";
493495
assertEquals(expectedHeaderValue, headeroption.get(0).getValue().toString());
494496
assertNotNull(multipart.content());
495-
OnenotePage page = pageReq.buildRequest(options)
496-
.post(multipart.content());
497+
498+
OnenotePage page = request.post(multipart.content());
497499
assertNotNull(page);
498500
}
499501

0 commit comments

Comments
 (0)