File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
Test/Notion.IntegrationTests Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -268,6 +268,30 @@ private static IEnumerable<object[]> BlockData()
268
268
Assert . NotNull ( block ) ;
269
269
Assert . IsType < DividerBlock > ( block ) ;
270
270
} )
271
+ } ,
272
+ new object [ ] {
273
+ new AudioBlock {
274
+ Audio = new ExternalFile {
275
+ External = new ExternalFile . Info {
276
+ Url = "https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3"
277
+ }
278
+ }
279
+ } ,
280
+ new AudioUpdateBlock {
281
+ Audio = new ExternalFileInput {
282
+ External = new ExternalFileInput . Data {
283
+ Url = "https://www.soundhelix.com/examples/mp3/SoundHelix-Song-3.mp3"
284
+ }
285
+ }
286
+ } ,
287
+ new Action < Block > ( ( block ) => {
288
+ block . Should ( ) . NotBeNull ( ) ;
289
+
290
+ block . Should ( ) . BeOfType < AudioBlock > ( ) . Subject
291
+ . Audio . Should ( ) . BeOfType < ExternalFile > ( ) . Subject
292
+ . External . Url . Should ( ) . Be ( "https://www.soundhelix.com/examples/mp3/SoundHelix-Song-3.mp3" ) ;
293
+
294
+ } )
271
295
}
272
296
} ;
273
297
}
You can’t perform that action at this time.
0 commit comments