Commit c0dca8d0 authored by catch's avatar catch
Browse files

Issue #3247901 by danflanagan8, longwave: ContentTranslationUITestBase should not rely on Classy

(cherry picked from commit 84ef68cf)
parent 3ab61299
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ class BlockContentTranslationUITest extends ContentTranslationUITestBase {
  /**
   * {@inheritdoc}
   */
  protected $defaultTheme = 'classy';
  protected $defaultTheme = 'stark';

  /**
   * {@inheritdoc}
+1 −1
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@ class ContentTestTranslationUITest extends ContentTranslationUITestBase {
  /**
   * {@inheritdoc}
   */
  protected $defaultTheme = 'classy';
  protected $defaultTheme = 'stark';

  /**
   * {@inheritdoc}
+1 −1
Original line number Diff line number Diff line
@@ -359,7 +359,7 @@ protected function doTestAuthoringInfo() {
    ];
    $this->drupalGet($entity->toUrl('edit-form'));
    $this->submitForm($edit, $this->getFormSubmitAction($entity, $langcode));
    $this->assertSession()->elementExists('xpath', '//div[contains(@class, "error")]//ul');
    $this->assertSession()->elementExists('xpath', '//div[@aria-label="Error message"]//ul');
    $metadata = $this->manager->getTranslationMetadata($entity->getTranslation($langcode));
    $this->assertEquals($values[$langcode]['uid'], $metadata->getAuthor()->id(), 'Translation author correctly kept.');
    $this->assertEquals($values[$langcode]['created'], $metadata->getCreatedTime(), 'Translation date correctly kept.');
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ class MediaTranslationUITest extends ContentTranslationUITestBase {
  /**
   * {@inheritdoc}
   */
  protected $defaultTheme = 'classy';
  protected $defaultTheme = 'stark';

  /**
   * {@inheritdoc}
+1 −1
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ class MenuLinkContentTranslationUITest extends ContentTranslationUITestBase {
  /**
   * {@inheritdoc}
   */
  protected $defaultTheme = 'classy';
  protected $defaultTheme = 'stark';

  /**
   * {@inheritdoc}
Loading