Skip to content

[4.0] Cleanup Image tests#31812

Merged
wilsonge merged 3 commits intojoomla:4.0-devfrom
wilsonge:chore/cleanup-image-tests
Dec 31, 2020
Merged

[4.0] Cleanup Image tests#31812
wilsonge merged 3 commits intojoomla:4.0-devfrom
wilsonge:chore/cleanup-image-tests

Conversation

@wilsonge
Copy link
Contributor

@wilsonge wilsonge commented Dec 31, 2020

Major cleanup based on test reviews I was doing as part of #31804

I've tried to keep the tests as similar as I can (although I'm very unsure why we're testing some of the protected methods). But the main aim is to reduce the amount of image instances we are creating unnecessarily and remove dependencies on the ImageInspector. There are two instances left in tests directly related to test the filter function which I still need to figure out but will be PR'd independently of this

Testing

Testing is purely on code review + Drone passing as this is only touching the tests

@wilsonge wilsonge changed the title Cleanup Image tests [4.0] Cleanup Image tests Dec 31, 2020
@wilsonge wilsonge merged commit f584bbf into joomla:4.0-dev Dec 31, 2020
@wilsonge wilsonge deleted the chore/cleanup-image-tests branch December 31, 2020 17:58
@wilsonge wilsonge added this to the Joomla 4.0 milestone Dec 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants