$files = [];
for ($i = 0; $i < 3; $i++) {
$path = "public://example_$i.png";
- file_unmanaged_copy(\Drupal::root() . '/core/misc/druplicon.png', $path);
+ file_unmanaged_copy($this->root . '/core/misc/druplicon.png', $path);
$image = File::create(['uri' => $path]);
$image->save();
$files[] = $image;
$this->assertEqual($value, [
'one' => 'uno',
'two' => 'zwei',
- 'three' => 'drei'
+ 'three' => 'drei',
]);
$properties = $typed_data->getProperties();