Skip to content
Snippets Groups Projects
Commit 35e2f2a7 authored by llaffont's avatar llaffont
Browse files

Ajout tests sur creation pseudo images Imagick

parent 396f4b2f
Branches
Tags
No related merge requests found
......@@ -117,6 +117,15 @@ class AlbumRessourceInitializationTest extends AlbumRessourceFileUploadTestCase
->initializeWith(null)
);
}
/** @test */
public function getImageWithInexistingPathShouldCreateBlackImage() {
$black_image = new Imagick();
$black_image->newPseudoImage(50, 50, "canvas:black");
$black_image->setImageFormat('jpg');
$this->assertEquals($black_image->getImageBlob(), $this->_resource->getImage());
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment