You are here

protected property MigrateImageStylesTest::$expectedResults in Zircon Profile 8

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

Expected results after the source parsing.

Type: array

Overrides MigrateSqlSourceTestCase::$expectedResults

File

core/modules/image/tests/src/Unit/Plugin/migrate/source/d7/MigrateImageStylesTest.php, line 28
Contains \Drupal\Tests\image\Unit\Plugin\migrate\source\d7\MigrateImageStylesTest.

Class

MigrateImageStylesTest
Tests D7 ImageStyles source plugin.

Namespace

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

Code

protected $expectedResults = [
  [
    'isid' => 1,
    'name' => 'custom_image_style_1',
    'label' => 'Custom image style 1',
    'effects' => [
      [
        'ieid' => 1,
        'isid' => 1,
        'weight' => 1,
        'name' => 'image_desaturate',
        'data' => [],
      ],
    ],
  ],
];