You are here

public function MixItUpFuncTest::testPopulateFilters in MixItUp Views 8.2

@covers \Drupal\mixitup_views\MixitupFunc::populateFilters @covers \Drupal\mixitup_views\MixitupFunc::getPopulatedFilters

File

tests/src/Kernel/MixItUpFuncTest.php, line 115

Class

MixItUpFuncTest
Class MixItUpFuncTest.

Namespace

Drupal\Tests\mixitup_views\Kernel

Code

public function testPopulateFilters() {
  $this->testObject
    ->populateFilters(2, 5);
  $this
    ->assertEqual([
    'tags' => [
      '.tid_2' => 'test name1',
    ],
  ], $this->testObject
    ->getPopulatedFilters());
}