I changed the two classes that export to image file so they are equally important, and create a common abstract class that keeps the common logic.
Then, when testing, I only had imagemagick enabled, so the test failed when it should be skipped due to having gd disabled, so I reused the same logic used for imagemagick (skip if not installed)
I changed the two classes that export to image file so they are equally important, and create a common abstract class that keeps the common logic.
Then, when testing, I only had imagemagick enabled, so the test failed when it should be skipped due to having gd disabled, so I reused the same logic used for imagemagick (skip if not installed)