Commit ff056f32 authored by jibran's avatar jibran

Issue #2812811 by jibran: Use EntityPublishedInterface during moderation of...

Issue #2812811 by jibran: Use EntityPublishedInterface during moderation of entities to add support beyond nodes
parent 96438be4
......@@ -127,6 +127,7 @@ class DynamicEntityReferenceTest extends BrowserTestBase {
'settings[entity_test_default_access][handler_settings][target_bundles][entity_test_default_access]' => TRUE,
'settings[entity_test_cache][handler_settings][target_bundles][entity_test_cache]' => TRUE,
'settings[entity_test_field_methods][handler_settings][target_bundles][entity_test_field_methods]' => TRUE,
'settings[entity_test_mulrevpub][handler_settings][target_bundles][entity_test_mulrevpub]' => TRUE,
];
$this->submitForm($edit, t('Save settings'));
$assert_session->responseContains(t('Saved %name configuration', ['%name' => 'Foobar']));
......@@ -219,6 +220,7 @@ class DynamicEntityReferenceTest extends BrowserTestBase {
'settings[entity_test_default_access][handler_settings][target_bundles][entity_test_default_access]' => TRUE,
'settings[entity_test_cache][handler_settings][target_bundles][entity_test_cache]' => TRUE,
'settings[entity_test_field_methods][handler_settings][target_bundles][entity_test_field_methods]' => TRUE,
'settings[entity_test_mulrevpub][handler_settings][target_bundles][entity_test_mulrevpub]' => TRUE,
];
$this->submitForm($edit, t('Save settings'));
......
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