diff --git a/core/tests/Drupal/Tests/Component/Utility/ImageTest.php b/core/tests/Drupal/Tests/Component/Utility/ImageTest.php index 9c401e3..63f20a6 100644 --- a/core/tests/Drupal/Tests/Component/Utility/ImageTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/ImageTest.php @@ -11,8 +11,11 @@ use Drupal\Tests\UnitTestCase; /** + * Tests \Drupal\Component\Utility\Image. + * + * @group Utility + * * @coversDefaultClass \Drupal\Component\Utility\Image - * @group Image */ class ImageTest extends UnitTestCase { @@ -20,6 +23,7 @@ class ImageTest extends UnitTestCase { * Tests all control flow branches in image_dimensions_scale(). * * @dataProvider providerTestScaleDimensions + * @covers ::scaleDimensions */ public function testScaleDimensions($input, $output) { // Process the test dataset. @@ -39,14 +43,10 @@ public function testScaleDimensions($input, $output) { * Provides data for image dimension scale tests. * * @return array - * Keyed array containing: - * - 'input' - Array which contains input for - * Image::scaleDimensions(). - * - 'output' - Array which contains expected output after passing - * through Image::scaleDimensions. Also contains a boolean - * 'return_value' which should match the expected return value. - * - * @see testScaleDimensions() + * - Array which contains input for Image::scaleDimensions(). + * - Array which contains expected output after passing + * through Image::scaleDimensions. Also contains a boolean + * 'return_value' which should match the expected return value. */ public function providerTestScaleDimensions() { // Define input / output datasets to test different branch conditions.