*/
public function testExtract() {
$value = $this->plugin->transform(['foo' => 'bar'], $this->migrateExecutable, $this->row, 'destinationproperty');
- $this->assertSame($value, 'bar');
+ $this->assertSame('bar', $value);
}
/**
public function testExtractFailDefault() {
$plugin = new Extract(['index' => ['foo'], 'default' => 'test'], 'map', []);
$value = $plugin->transform(['bar' => 'foo'], $this->migrateExecutable, $this->row, 'destinationproperty');
- $this->assertSame($value, 'test', '');
+ $this->assertSame('test', $value, '');
}
}