@@ -253,8 +253,9 @@ public function it_returns_parent_block_in_which_new_blocks_have_been_successful
253253 $ toggle = Toggle::create (["New TextBlock " ]);
254254 $ embed = Embed::create ("https://5amco.de " , "Testcaption " );
255255 $ image = Image::create ("https://images.unsplash.com/photo-1593642533144-3d62aa4783ec?ixlib=rb-1.2.1&q=85&fm=jpg&crop=entropy&cs=srgb " , "Testcaption " );
256- $ video = Image::create ("https://www.w3schools.com/html/mov_bbb.mp4 " , "TestCaption " );
257- $ pdf = Image::create ("https://notion.so/testpdf.pdf " , "TestCaption " );
256+ $ file = File::create ("https://images.unsplash.com/photo-1593642533144-3d62aa4783ec?ixlib=rb-1.2.1&q=85&fm=jpg&crop=entropy&cs=srgb " , "Testcaption " );
257+ $ video = Video::create ("https://www.w3schools.com/html/mov_bbb.mp4 " , "TestCaption " );
258+ $ pdf = Pdf::create ("https://notion.so/testpdf.pdf " , "TestCaption " );
258259
259260 $ parentBlock = Notion::block ('1d719dd1-563b-4387-b74f-20da92b827fb ' )->append ($ paragraph );
260261 $ this ->assertInstanceOf (Block::class, $ parentBlock );
@@ -286,6 +287,9 @@ public function it_returns_parent_block_in_which_new_blocks_have_been_successful
286287 $ parentBlock = Notion::block ('1d719dd1-563b-4387-b74f-20da92b827fb ' )->append ($ image );
287288 $ this ->assertInstanceOf (Block::class, $ parentBlock );
288289
290+ $ parentBlock = Notion::block ('1d719dd1-563b-4387-b74f-20da92b827fb ' )->append ($ file );
291+ $ this ->assertInstanceOf (Block::class, $ parentBlock );
292+
289293 $ parentBlock = Notion::block ('1d719dd1-563b-4387-b74f-20da92b827fb ' )->append ($ video );
290294 $ this ->assertInstanceOf (Block::class, $ parentBlock );
291295
0 commit comments