public function AnimatedGifFieldTest::testGif in Animated GIF 8
Method to test gif images.
Throws
\Behat\Mink\Exception\ResponseTextException
\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException
\Drupal\Component\Plugin\Exception\PluginNotFoundException
File
- tests/
src/ Functional/ AnimatedGifFieldTest.php, line 82
Class
- AnimatedGifFieldTest
- Tests fields styles.
Namespace
Drupal\Tests\animated_gif\FunctionalCode
public function testGif() : void {
$this
->gifAnimationTest(self::TEST_ANIMATED_FILE, self::TEST_ANIMATED_FILE_URI, TRUE);
$this
->gifAnimationTest(self::TEST_NOT_ANIMATED_FILE, self::TEST_NOT_ANIMATED_FILE_URI, FALSE);
}