Skip to content

Fix VichImageTypeTest failing with LiipImagine enabled - #1580

Merged
garak merged 2 commits into
dustin10:masterfrom
theredled:fix-tests-liipimagine-1578
Mar 4, 2026
Merged

Fix VichImageTypeTest failing with LiipImagine enabled#1580
garak merged 2 commits into
dustin10:masterfrom
theredled:fix-tests-liipimagine-1578

Conversation

@theredled

@theredled theredled commented Mar 3, 2026

Copy link
Copy Markdown
Contributor

Tests fail (x4) with LiipImagine enabled : #1578
Fixing 3 of them (false negative) by removing obsolete "show_download_link" view var in VichImageTypeTest

@theredled
theredled marked this pull request as ready for review March 3, 2026 18:17

@garak garak left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should enable the option in the build, right?

@theredled

theredled commented Mar 4, 2026

Copy link
Copy Markdown
Contributor Author

We should enable the option in the build, right?

If you're talking about the with-imagine: true added in the CI that's this PR: #1579

@garak

garak commented Mar 4, 2026

Copy link
Copy Markdown
Collaborator

So, what we need to fix in the PR 1579 is different from this change?

@theredled

Copy link
Copy Markdown
Contributor Author

PR 1579 is only adding tests to the CI.

@garak

garak commented Mar 4, 2026

Copy link
Copy Markdown
Collaborator

PR 1579 is only adding tests to the CI.

We can't only add failing tests, we need to fix them in the same PR

@theredled

Copy link
Copy Markdown
Contributor Author

PR 1579 is only adding tests to the CI.

We can't only add failing tests, we need to fix them in the same PR

Ok, merged PR 1579 into this one.

@theredled

Copy link
Copy Markdown
Contributor Author

Test Fail #4 (#1578 (comment)) seems to be a config issue on my side, so all tests should pass now.

@garak
garak merged commit 0f1b3ee into dustin10:master Mar 4, 2026
13 checks passed
@theredled

Copy link
Copy Markdown
Contributor Author

Hourray

@theredled
theredled deleted the fix-tests-liipimagine-1578 branch March 4, 2026 13:53
Copilot AI added a commit that referenced this pull request Apr 11, 2026
Ported changes:
- Fix translation for 'delete_label' when 'download_label' is a callable (#1574)
- Fix VichImageTypeTest failing with LiipImagine enabled (#1580)
- Add test with LiipImagine enabled in CI
- Fix coding standard (Dockerfile85, static fn)
- Document Gedmo/DoctrineExtensions issue (#1582)
- Update directory_namer service id in doc
- Extract TestCaseTrait for reuse across test base classes
- Fix Product::getImage() return type

Skipped (not applicable to 3.x):
- XML to PHP config migration (already done)
- Annotation deprecation layer (3.x removed annotations)
- Allow Symfony 8 (3.x already supports it)
- BypassFinal fix (not used in 3.x)

Agent-Logs-Url: https://github.com/dustin10/VichUploaderBundle/sessions/94f40c3f-9548-4dcc-afd3-c04655b22ed2

Co-authored-by: garak <179866+garak@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants