*/
public function testTransform() {
$value = $this->plugin->transform('foo,bar,tik', $this->migrateExecutable, $this->row, 'destinationproperty');
- $this->assertSame($value, ['foo', 'bar', 'tik']);
+ $this->assertSame(['foo', 'bar', 'tik'], $value);
}
/**
public function testTransformLimit() {
$plugin = new Explode(['delimiter' => '_', 'limit' => 2], 'map', []);
$value = $plugin->transform('foo_bar_tik', $this->migrateExecutable, $this->row, 'destinationproperty');
- $this->assertSame($value, ['foo', 'bar_tik']);
+ $this->assertSame(['foo', 'bar_tik'], $value);
}
/**
$concat = new Concat([], 'map', []);
$concatenated = $concat->transform($exploded, $this->migrateExecutable, $this->row, 'destinationproperty');
- $this->assertSame($concatenated, 'foobartik');
+ $this->assertSame('foobartik', $concatenated);
}
/**