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

MNT Fix unit test #11507

Merged

Conversation

emteknetnz
Copy link
Member

@emteknetnz emteknetnz commented Dec 12, 2024

Issue silverstripe/.github#349

Fixes https://github.com/silverstripe/silverstripe-framework/actions/runs/12286468439/job/34286763680#step:12:154

1) SilverStripe\View\Tests\Embed\EmbedContainerTest::testGetDimensions TypeError: mb_encoding_aliases(): Argument #1 ($encoding) must be of type string, null given

@emteknetnz emteknetnz marked this pull request as ready for review December 12, 2024 01:35
Copy link
Member

@GuySartorelli GuySartorelli left a comment

Choose a reason for hiding this comment

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

LGTM - I don't understand how it's fixing the problem given '' isn't null but I assume it has to do with what's being mocked.

@GuySartorelli GuySartorelli merged commit bd7c2af into silverstripe:5.3 Dec 12, 2024
19 checks passed
@GuySartorelli GuySartorelli deleted the pulls/5.3/fix-unit-test branch December 12, 2024 04:08
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