Commit 0c5e9df5 authored by borisson_'s avatar borisson_ Committed by borisson_
Browse files

Issue #2839629 by borisson_: Remove ::installModulesFromClassProperty from test

parent acb219df
......@@ -324,25 +324,6 @@ class HierarchicalFacetIntegrationTest extends FacetsTestBase {
$this->entities[6]->save();
}
/**
* {@inheritdoc}
*/
protected function installModulesFromClassProperty(ContainerInterface $container) {
// This will just set the Drupal state to include the necessary bundles for
// our test entity type. Otherwise, fields from those bundles won't be found
// and thus removed from the test index. (We can't do it in setUp(), before
// calling the parent method, since the container isn't set up at that
// point.)
$bundles = array(
'entity_test_mulrev_changed' => array('label' => 'Entity Test Bundle'),
'item' => array('label' => 'item'),
'article' => array('label' => 'article'),
);
\Drupal::state()->set('entity_test_mulrev_changed.bundles', $bundles);
parent::installModulesFromClassProperty($container);
}
/**
* Convert facet name to machine name.
*
......
......@@ -33,25 +33,6 @@ class IntegrationTest extends FacetsTestBase {
$this->blocks = NULL;
}
/**
* {@inheritdoc}
*/
protected function installModulesFromClassProperty(ContainerInterface $container) {
// This will just set the Drupal state to include the necessary bundles for
// our test entity type. Otherwise, fields from those bundles won't be found
// and thus removed from the test index. (We can't do it in setUp(), before
// calling the parent method, since the container isn't set up at that
// point.)
$bundles = array(
'entity_test_mulrev_changed' => array('label' => 'Entity Test Bundle'),
'item' => array('label' => 'item'),
'article' => array('label' => 'article'),
);
\Drupal::state()->set('entity_test_mulrev_changed.bundles', $bundles);
parent::installModulesFromClassProperty($container);
}
/**
* Tests permissions.
*/
......
......@@ -37,25 +37,6 @@ class ProcessorIntegrationTest extends FacetsTestBase {
$this->assertEqual($this->indexItems($this->indexId), 5, '5 items were indexed.');
}
/**
* {@inheritdoc}
*/
protected function installModulesFromClassProperty(ContainerInterface $container) {
// This will just set the Drupal state to include the necessary bundles for
// our test entity type. Otherwise, fields from those bundles won't be found
// and thus removed from the test index. (We can't do it in setUp(), before
// calling the parent method, since the container isn't set up at that
// point.)
$bundles = array(
'entity_test_mulrev_changed' => array('label' => 'Entity Test Bundle'),
'item' => array('label' => 'item'),
'article' => array('label' => 'article'),
);
\Drupal::state()->set('entity_test_mulrev_changed.bundles', $bundles);
parent::installModulesFromClassProperty($container);
}
/**
* Tests for the processors behavior in the backend.
*/
......
......@@ -41,25 +41,6 @@ class UrlIntegrationTest extends FacetsTestBase {
$this->assertEqual($this->indexItems($this->indexId), 5, '5 items were indexed.');
}
/**
* {@inheritdoc}
*/
protected function installModulesFromClassProperty(ContainerInterface $container) {
// This will just set the Drupal state to include the necessary bundles for
// our test entity type. Otherwise, fields from those bundles won't be found
// and thus removed from the test index. (We can't do it in setUp(), before
// calling the parent method, since the container isn't set up at that
// point.)
$bundles = array(
'entity_test_mulrev_changed' => array('label' => 'Entity Test Bundle'),
'item' => array('label' => 'item'),
'article' => array('label' => 'article'),
);
\Drupal::state()->set('entity_test_mulrev_changed.bundles', $bundles);
parent::installModulesFromClassProperty($container);
}
/**
* Tests various url integration things.
*/
......
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