@@ -26,7 +26,7 @@ public DeserializationTests()
2626 }
2727
2828 [ Fact ]
29- public void CommentRoot_GetJson_SuccessWithoutExceptions ( )
29+ public async void CommentRoot_GetJson_SuccessWithoutExceptions ( )
3030 {
3131 // https://derpibooru.org/api/v1/json/comments/7093003
3232 var uri = _baseUri . AppendPathSegment ( "/comments/7093003" ) ;
@@ -42,7 +42,7 @@ public void CommentRoot_GetJson_SuccessWithoutExceptions()
4242
4343 using var _ = new AssertionScope ( ) ;
4444
45- act . Should ( ) . NotThrow ( ) ;
45+ await act . Should ( ) . NotThrowAsync ( ) ;
4646 commentRoot . Should ( ) . NotBeNull ( ) ;
4747
4848 // Property validation
@@ -60,7 +60,7 @@ public void CommentRoot_GetJson_SuccessWithoutExceptions()
6060 }
6161
6262 [ Fact ]
63- public void GallerySearchRoot_GetJson_SuccessWithoutExceptions ( )
63+ public async void GallerySearchRoot_GetJson_SuccessWithoutExceptions ( )
6464 {
6565 // https://derpibooru.org/api/v1/json/search/galleries?q=title:fluttershy
6666 var uri = _baseUri . AppendPathSegment ( "/search/galleries" ) . SetQueryParam ( "q" , "id:11972" ) ;
@@ -76,7 +76,7 @@ public void GallerySearchRoot_GetJson_SuccessWithoutExceptions()
7676
7777 using var _ = new AssertionScope ( ) ;
7878
79- act . Should ( ) . NotThrow ( ) ;
79+ await act . Should ( ) . NotThrowAsync ( ) ;
8080 gallerySearchRoot . Should ( ) . NotBeNull ( ) ;
8181
8282 // Property validation
@@ -91,7 +91,7 @@ public void GallerySearchRoot_GetJson_SuccessWithoutExceptions()
9191 }
9292
9393 [ Fact ]
94- public void ImageRoot_GetJson_SuccessWithoutExceptions ( )
94+ public async void ImageRoot_GetJson_SuccessWithoutExceptions ( )
9595 {
9696 // https://derpibooru.org/api/v1/json/images/1384692
9797 var uri = _baseUri . AppendPathSegment ( "/images/1384692" ) ;
@@ -107,7 +107,7 @@ public void ImageRoot_GetJson_SuccessWithoutExceptions()
107107
108108 using var _ = new AssertionScope ( ) ;
109109
110- act . Should ( ) . NotThrow ( ) ;
110+ await act . Should ( ) . NotThrowAsync ( ) ;
111111 imageRoot . Should ( ) . NotBeNull ( ) ;
112112
113113 // Property validation
@@ -167,7 +167,7 @@ public void ImageRoot_GetJson_SuccessWithoutExceptions()
167167 }
168168
169169 [ Fact ]
170- public void Oembed_GetJson_SuccessWithoutExceptions ( )
170+ public async void Oembed_GetJson_SuccessWithoutExceptions ( )
171171 {
172172 // https://derpibooru.org/api/v1/json/oembed?url=https://derpicdn.net/img/view/2017/3/11/1384692.png
173173 var uri = _baseUri . AppendPathSegment ( "/oembed" ) . SetQueryParam ( "url" , "https://derpicdn.net/img/view/2017/3/11/1384692.png" ) ;
@@ -181,7 +181,7 @@ public void Oembed_GetJson_SuccessWithoutExceptions()
181181
182182 using var _ = new AssertionScope ( ) ;
183183
184- act . Should ( ) . NotThrow ( ) ;
184+ await act . Should ( ) . NotThrowAsync ( ) ;
185185 oembed . Should ( ) . NotBeNull ( ) ;
186186
187187 // Property validation
@@ -201,7 +201,7 @@ public void Oembed_GetJson_SuccessWithoutExceptions()
201201 }
202202
203203 [ Fact ]
204- public void PostsSearchRoot_GetJson_SuccessWithoutExceptions ( )
204+ public async void PostsSearchRoot_GetJson_SuccessWithoutExceptions ( )
205205 {
206206 // https://derpibooru.org/api/v1/json/search/posts?q=id:4236623
207207 var uri = _baseUri . AppendPathSegment ( "/search/posts" ) . SetQueryParam ( "q" , "id:4236623" ) ;
@@ -217,7 +217,7 @@ public void PostsSearchRoot_GetJson_SuccessWithoutExceptions()
217217
218218 using var _ = new AssertionScope ( ) ;
219219
220- act . Should ( ) . NotThrow ( ) ;
220+ await act . Should ( ) . NotThrowAsync ( ) ;
221221 postsRoot . Should ( ) . NotBeNull ( ) ;
222222
223223 // Property validation
@@ -234,7 +234,7 @@ public void PostsSearchRoot_GetJson_SuccessWithoutExceptions()
234234 }
235235
236236 [ Fact ]
237- public void ProfileRootJson_GetJson_SuccessWithoutExceptions ( )
237+ public async void ProfileRootJson_GetJson_SuccessWithoutExceptions ( )
238238 {
239239 // https://derpibooru.org/api/v1/json/profiles/216494
240240 var uri = _baseUri . AppendPathSegment ( "profiles/216494" ) ;
@@ -250,7 +250,7 @@ public void ProfileRootJson_GetJson_SuccessWithoutExceptions()
250250
251251 using var _ = new AssertionScope ( ) ;
252252
253- act . Should ( ) . NotThrow ( ) ;
253+ await act . Should ( ) . NotThrowAsync ( ) ;
254254 profileRoot . Should ( ) . NotBeNull ( ) ;
255255
256256 // Property validation
@@ -284,7 +284,7 @@ public void ProfileRootJson_GetJson_SuccessWithoutExceptions()
284284 }
285285
286286 [ Fact ]
287- public void TagSearchRoot_GetJson_SuccessWithoutExceptions ( )
287+ public async void TagSearchRoot_GetJson_SuccessWithoutExceptions ( )
288288 {
289289 // https://derpibooru.org/api/v1/json/search/tags?q=id:27724
290290 var uri = _baseUri . AppendPathSegment ( "/search/tags" ) . SetQueryParam ( "q" , "id:27724" ) ;
@@ -300,7 +300,7 @@ public void TagSearchRoot_GetJson_SuccessWithoutExceptions()
300300
301301 using var _ = new AssertionScope ( ) ;
302302
303- act . Should ( ) . NotThrow ( ) ;
303+ await act . Should ( ) . NotThrowAsync ( ) ;
304304 tagsRoot . Should ( ) . NotBeNull ( ) ;
305305
306306 // Property validation
0 commit comments