You are here

protected property ImageCachePresetTest::$expectedResults in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/image/tests/src/Unit/Plugin/migrate/source/d6/ImageCachePresetTest.php \Drupal\Tests\image\Unit\Plugin\migrate\source\d6\ImageCachePresetTest::expectedResults

Expected results after the source parsing.

Type: array

Overrides MigrateSqlSourceTestCase::$expectedResults

File

core/modules/image/tests/src/Unit/Plugin/migrate/source/d6/ImageCachePresetTest.php, line 29
Contains \Drupal\Tests\image\Unit\Plugin\migrate\source\d6\ImageCachePresetTest.

Class

ImageCachePresetTest
Tests the d6_imagecache_presets source plugin.

Namespace

Drupal\Tests\image\Unit\Plugin\migrate\source\d6

Code

protected $expectedResults = array(
  array(
    'presetid' => '1',
    'presetname' => 'slackjaw_boys',
    'actions' => array(
      array(
        'actionid' => '3',
        'presetid' => '1',
        'weight' => '0',
        'module' => 'imagecache',
        'action' => 'imagecache_scale_and_crop',
        'data' => array(
          'width' => '100%',
          'height' => '100%',
        ),
      ),
    ),
  ),
);