@@ -191,7 +191,7 @@ public void SetLibreOfficeOptions_InvalidResolution_Throws()
191191 #region Serialization Tests
192192
193193 [ Test ]
194- public void LibreOfficeOptions_SerializesAllSetFields ( )
194+ public async Task LibreOfficeOptions_SerializesAllSetFields ( )
195195 {
196196 var options = new LibreOfficeOptions
197197 {
@@ -205,15 +205,15 @@ public void LibreOfficeOptions_SerializesAllSetFields()
205205
206206 httpContents . FirstOrDefault ( c =>
207207 c . Headers . ContentDisposition ? . Name == "singlePageSheets" ) . Should ( ) . NotBeNull ( ) ;
208- httpContents . FirstOrDefault ( c =>
208+ ( await httpContents . FirstOrDefault ( c =>
209209 c . Headers . ContentDisposition ? . Name == "quality" ) !
210- . ReadAsStringAsync ( ) . Result . Should ( ) . Be ( "75" ) ;
211- httpContents . FirstOrDefault ( c =>
210+ . ReadAsStringAsync ( ) ) . Should ( ) . Be ( "75" ) ;
211+ ( await httpContents . FirstOrDefault ( c =>
212212 c . Headers . ContentDisposition ? . Name == "maxImageResolution" ) !
213- . ReadAsStringAsync ( ) . Result . Should ( ) . Be ( "300" ) ;
214- httpContents . FirstOrDefault ( c =>
213+ . ReadAsStringAsync ( ) ) . Should ( ) . Be ( "300" ) ;
214+ ( await httpContents . FirstOrDefault ( c =>
215215 c . Headers . ContentDisposition ? . Name == "nativeWatermarkText" ) !
216- . ReadAsStringAsync ( ) . Result . Should ( ) . Be ( "DRAFT" ) ;
216+ . ReadAsStringAsync ( ) ) . Should ( ) . Be ( "DRAFT" ) ;
217217 }
218218
219219 [ Test ]
@@ -230,6 +230,7 @@ public void LibreOfficeOptions_NullFields_NotIncluded()
230230
231231 #region Integration Tests
232232
233+ [ Category ( "Integration" ) ]
233234 [ Test ]
234235 public async Task MergeOfficeDocs_WithLibreOfficeOptions_Succeeds ( )
235236 {
0 commit comments