Skip to content

Commit 774dd1f

Browse files
committed
fix test
1 parent 929a576 commit 774dd1f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sdk/search/azure-search-documents/src/test/java/com/azure/search/documents/KnowledgeSourceTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ public void statusPayloadMapsToModelsWithNullables() throws IOException {
331331
// Sample status payload with nullables for first sync
332332
String statusJson = "{\"synchronizationStatus\": \"creating\",\"synchronizationInterval\": \"PT24H\","
333333
+ "\"currentSynchronizationState\": null,\"lastSynchronizationState\": null,\"statistics\": {"
334-
+ "\"totalSynchronization\": 0,\"averageSynchronizationDuration\": \"00:00:00\","
334+
+ "\"totalSynchronization\": 0,\"averageSynchronizationDuration\": \"PT0S\","
335335
+ "\"averageItemsProcessedPerSynchronization\": 0}}";
336336

337337
try (JsonReader reader = JsonProviders.createReader(statusJson)) {

0 commit comments

Comments
 (0)