You are here

public function MixItUpFuncTest::testPopulateNodeFilters in MixItUp Views 8.2

@covers \Drupal\mixitup_views\MixitupFunc::populateNodeFilters @covers \Drupal\mixitup_views\MixitupFunc::getPopulatedNodeFilters

File

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

Class

MixItUpFuncTest
Class MixItUpFuncTest.

Namespace

Drupal\Tests\mixitup_views\Kernel

Code

public function testPopulateNodeFilters() {
  $this->testObject
    ->populateNodeFilters(2, 5);
  $this
    ->assertEqual([
    5 => [
      2,
    ],
  ], $this->testObject
    ->getPopulatedNodeFilters());
}