Skip to content

Commit 0f1b3ee

Browse files
authored
Merge pull request #1580 from theredled/fix-tests-liipimagine-1578
Fix VichImageTypeTest failing with LiipImagine enabled
2 parents ed584d7 + d6f4e79 commit 0f1b3ee

2 files changed

Lines changed: 1 addition & 8 deletions

File tree

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
- php: '8.4'
9999
symfony: '7.4.*'
100100
dependencies: highest
101-
with_imagine: false
101+
with_imagine: true
102102
with_oneupbundle: false
103103
max_deprecations: 6
104104
- php: '8.5'

tests/Form/Type/VichImageTypeTest.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ public static function buildViewDataProvider(): array
3737
'download_uri' => 'resolved-uri',
3838
'download_label' => 'download',
3939
'image_uri' => null,
40-
'show_download_link' => true,
4140
'value' => null,
4241
'attr' => [],
4342
'asset_helper' => false,
@@ -56,7 +55,6 @@ public static function buildViewDataProvider(): array
5655
'object' => null,
5756
'download_uri' => null,
5857
'image_uri' => null,
59-
'show_download_link' => false,
6058
'value' => null,
6159
'attr' => [],
6260
'asset_helper' => false,
@@ -76,7 +74,6 @@ public static function buildViewDataProvider(): array
7674
'download_uri' => false,
7775
'download_label' => 'download',
7876
'image_uri' => 'resolved-uri',
79-
'show_download_link' => false,
8077
'value' => null,
8178
'attr' => [],
8279
'asset_helper' => false,
@@ -95,7 +92,6 @@ public static function buildViewDataProvider(): array
9592
'object' => $object,
9693
'download_uri' => 'custom-uri',
9794
'download_label' => 'download',
98-
'show_download_link' => true,
9995
'image_uri' => 'resolved-uri',
10096
'value' => null,
10197
'attr' => [],
@@ -115,7 +111,6 @@ public static function buildViewDataProvider(): array
115111
'object' => $object,
116112
'download_uri' => 'custom-uri',
117113
'download_label' => 'download',
118-
'show_download_link' => true,
119114
'image_uri' => 'image_uri',
120115
'value' => null,
121116
'attr' => [],
@@ -135,7 +130,6 @@ public static function buildViewDataProvider(): array
135130
'object' => $object,
136131
'download_uri' => 'custom-uri',
137132
'download_label' => 'download',
138-
'show_download_link' => true,
139133
'image_uri' => 'prefix-resolved-uri',
140134
'value' => null,
141135
'attr' => [],
@@ -207,7 +201,6 @@ public function testLiipImagineBundleIntegration(
207201
'object' => $object,
208202
'download_uri' => 'custom-uri',
209203
'download_label' => 'download',
210-
'show_download_link' => true,
211204
'image_uri' => $imagineResolvedPath,
212205
'value' => null,
213206
'attr' => [],

0 commit comments

Comments
 (0)