TermSourceWithVocabularyFilterTest.php in Zircon Profile 8.0
File
core/modules/taxonomy/tests/src/Unit/Migrate/TermSourceWithVocabularyFilterTest.php
View source
<?php
namespace Drupal\Tests\taxonomy\Unit\Migrate;
class TermSourceWithVocabularyFilterTest extends TermTestBase {
protected function setUp() {
$this->migrationConfiguration['source']['vocabulary'] = array(
5,
);
parent::setUp();
$this->expectedResults = array_values(array_filter($this->expectedResults, function ($result) {
return $result['vid'] == 5;
}));
$this->expectedCount = 2;
}
}