Skip to content

Commit 1d08c5e

Browse files
committed
- updates the method collection parameter set e2e test to validate the resultPage
1 parent cd625ce commit 1d08c5e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
import com.microsoft.graph.serializer.DefaultSerializer;
6666
import com.microsoft.graph.logger.ILogger;
6767
import com.microsoft.graph.models.CalendarGetScheduleParameterSet;
68+
import com.microsoft.graph.requests.CalendarGetScheduleCollectionPage;
6869
@Disabled
6970
public class OutlookTests {
7071

@@ -396,7 +397,8 @@ public void testGetSchedule() throws Exception {
396397
.withStartTime(startTime)
397398
.withAvailabilityViewInterval(60)
398399
.build();
399-
testBase.graphClient.me().calendar().getSchedule(paramSet)
400+
final CalendarGetScheduleCollectionPage resultPage = testBase.graphClient.me().calendar().getSchedule(paramSet)
400401
.buildRequest().post();
402+
assertNotNull(resultPage);
401403
}
402404
}

0 commit comments

Comments
 (0)