@@ -436,39 +436,6 @@ public function testManipulations() {
$this->assertTrue($image->isValid(),'CreateNew with valid arguments validates the Image.');
}
/**
* Tests that GD resources are freed from memory.
*
* @todo Remove the method for PHP 8.0+ https://www.drupal.org/node/3179058
*/
publicfunctiontestResourceDestruction(){
if(PHP_VERSION_ID>=80000){
$this->markTestSkipped('In PHP8 resources are no longer used. \GdImage objects are used instead. These will be garbage collected like the regular objects they are.');
}
// Test that an Image object going out of scope releases its GD resource.