You are here

protected function MonitoringSearchAPITest::createEntityTestBundles in Monitoring 8

Sets up the necessary bundles on the test entity type.

1 call to MonitoringSearchAPITest::createEntityTestBundles()
MonitoringSearchAPITest::setUp in tests/src/Kernel/MonitoringSearchAPITest.php

File

tests/src/Kernel/MonitoringSearchAPITest.php, line 228

Class

MonitoringSearchAPITest
Tests for search API sensor.

Namespace

Drupal\Tests\monitoring\Kernel

Code

protected function createEntityTestBundles() {
  entity_test_create_bundle('item', NULL, 'entity_test_mulrev_changed');
  entity_test_create_bundle('article', NULL, 'entity_test_mulrev_changed');
}