Skip to content
Snippets Groups Projects
Commit be934e61 authored by catch's avatar catch
Browse files

Issue #3035349 by claudiu.cristea: Remove usage of drupal_static_reset() from...

Issue #3035349 by claudiu.cristea: Remove usage of drupal_static_reset() from EntityReferenceFieldTranslatedReferenceViewTest
parent 18190737
No related branches found
No related tags found
No related merge requests found
......@@ -222,7 +222,7 @@ protected function enableTranslation() {
// up.
\Drupal::service('content_translation.manager')->setEnabled($this->testEntityTypeName, $this->referrerType->id(), TRUE);
\Drupal::service('content_translation.manager')->setEnabled($this->testEntityTypeName, $this->referencedType->id(), TRUE);
drupal_static_reset();
\Drupal::service('router.builder')->rebuild();
\Drupal::service('entity.definition_update_manager')->applyUpdates();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment