Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a test failing with 2.x + Multisite #2485

Merged
merged 2 commits into from
Sep 18, 2021
Merged

Fix a test failing with 2.x + Multisite #2485

merged 2 commits into from
Sep 18, 2021

Conversation

jarednova
Copy link
Member

Ticket: #1617

Issue

A new test with #2478 causes issues in 2.x because Image::wp_upload_dir() is removed.

Solution

Test against the generated URL rather than what's stored in this (no longer existent) variable

Impact

Just a change to a test, no functional code. I don't think the test covers anything "real" at this point since that var isn't being cached; but didn't want to toss the test just in case.

Usage Changes

None

Considerations

As I type this, I realize I should confirm against resizing too

@jarednova jarednova changed the base branch from master to 2.x September 18, 2021 02:43
@jarednova jarednova added the 2.0 label Sep 18, 2021
@jarednova jarednova self-assigned this Sep 18, 2021
@jarednova jarednova merged commit ef8770d into 2.x Sep 18, 2021
@nlemoine nlemoine deleted the 2.x-fix_ms_test branch June 23, 2022 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant