protected function ShortcutTranslationUITest::doTestTranslationChanged in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/shortcut/src/Tests/ShortcutTranslationUITest.php \Drupal\shortcut\Tests\ShortcutTranslationUITest::doTestTranslationChanged()
Tests the basic translation workflow.
Overrides ContentTranslationUITestBase::doTestTranslationChanged
File
- core/
modules/ shortcut/ src/ Tests/ ShortcutTranslationUITest.php, line 114 - Contains \Drupal\shortcut\Tests\ShortcutTranslationUITest.
Class
- ShortcutTranslationUITest
- Tests the shortcut translation UI.
Namespace
Drupal\shortcut\TestsCode
protected function doTestTranslationChanged() {
$entity = entity_load($this->entityTypeId, $this->entityId, TRUE);
$this
->assertFalse($entity instanceof EntityChangedInterface, format_string('%entity is not implementing EntityChangedInterface.', array(
'%entity' => $this->entityTypeId,
)));
}