Commit 3cf64bf8 authored by webchick's avatar webchick
Browse files

Issue #2494415 by bzrudi71: PostgreSQL: Fix migrate_drupal\Tests\d6\MigrateTaxonomyTermTest

parent 8357638b
......@@ -32,7 +32,8 @@ public function query() {
->fields('td', array('tid', 'vid', 'name', 'description', 'weight'))
// This works, but we cannot test that, because there is no support for
// distinct() in FakeSelect, yet.
->distinct();
->distinct()
->orderBy('tid');
if (isset($this->configuration['vocabulary'])) {
$query->condition('vid', $this->configuration['vocabulary'], 'IN');
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment