executeMigration('user_picture_field'); } /** * Test the user picture field migration. */ public function testUserPictureField() { /** @var \Drupal\field\FieldStorageConfigInterface $field_storage */ $field_storage = FieldStorageConfig::load('user.user_picture'); $this->assertTrue($field_storage instanceof FieldStorageConfigInterface); $this->assertIdentical('user.user_picture', $field_storage->id()); $this->assertIdentical('image', $field_storage->getType()); $this->assertIdentical('user', $field_storage->getTargetEntityTypeId()); } }