Skip to content

Commit

Permalink
test: fix file-related tests (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
mariosimao committed Jun 12, 2023
1 parent 087746f commit be8e869
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion tests/Unit/Blocks/FileBlockTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ public function test_transform_in_array(): void
"type" => "file",
"file" => [
"type" => "external",
"name" => "File",
"external" => [
"url" => "https://my-site.com/file.doc"
],
Expand Down
1 change: 0 additions & 1 deletion tests/Unit/Blocks/ImageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ public function test_transform_in_array(): void
"type" => "image",
"image" => [
"type" => "external",
"name" => "File",
"external" => [
"url" => "https://my-site.com/image.png"
],
Expand Down
1 change: 0 additions & 1 deletion tests/Unit/Blocks/PdfTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ public function test_transform_in_array(): void
"type" => "pdf",
"pdf" => [
"type" => "external",
"name" => "File",
"external" => [
"url" => "https://my-site.com/document.pdf"
],
Expand Down
1 change: 0 additions & 1 deletion tests/Unit/Blocks/VideoTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ public function test_transform_in_array(): void
"type" => "video",
"video" => [
"type" => "external",
"name" => "File",
"external" => [
"url" => "https://my-site.com/video.mp4"
],
Expand Down
1 change: 0 additions & 1 deletion tests/Unit/Common/IconTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ public function test_icon_from_file_array_conversion(): void

$expected = [
"type" => "external",
"name" => "File",
"external" => ["url" => "http://example.com/icon.png"],
];

Expand Down

0 comments on commit be8e869

Please sign in to comment.