Commit 2c230669 authored by alexpott's avatar alexpott

Issue #2258335 by rpayanm, ParisLiakos, mitrpaka: Move...

Issue #2258335 by rpayanm, ParisLiakos, mitrpaka: Move Drupal\Tests\Component\Image\ImageUtilityTest to Drupal\Tests\Component\Utility\ImageTest
parent ef538383
......@@ -2,10 +2,10 @@
/**
* @file
* Contains \Drupal\Tests\Component\Image\ImageUtilityTest.
* Contains \Drupal\Tests\Component\Utility\ImageTest.
*/
namespace Drupal\Tests\Component\Image;
namespace Drupal\Tests\Component\Utility;
use Drupal\Component\Utility\Image;
use Drupal\Tests\UnitTestCase;
......@@ -14,14 +14,14 @@
* @coversDefaultClass \Drupal\Component\Utility\Image
* @group Image
*/
class ImageUtilityTest extends UnitTestCase {
class ImageTest extends UnitTestCase {
/**
* Tests all control flow branches in image_dimensions_scale().
*
* @dataProvider providerTestScaleDimensions
*/
function testScaleDimensions($input, $output) {
public function testScaleDimensions($input, $output) {
// Process the test dataset.
$return_value = Image::scaleDimensions($input['dimensions'], $input['width'], $input['height'], $input['upscale']);
......
Markdown is supported
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