Commit 01483d2c authored by Jacob Rockowitz's avatar Jacob Rockowitz Committed by Jacob Rockowitz
Browse files

Issue #3326360 by jrockowitz: Remove deprecated themes from tests

parent 0b92c660
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -35,6 +35,7 @@
  },
  "require-dev": {
    "drupal/address": "~1.0",
    "drupal/bartik": "~1.0",
    "drupal/bootstrap": "~3.0",
    "drupal/captcha": "~1.0",
    "drupal/chosen": "~3.0",
@@ -51,6 +52,7 @@
    "drupal/mailsystem": "~4.0",
    "drupal/paragraphs": "~1.0",
    "drupal/select2": "~1.0",
    "drupal/seven": "~1.0",
    "drupal/smtp": "~1.0",
    "drupal/styleguide": "~1.0",
    "drupal/telephone_validation": "~2.0",
+1 −1
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@ class WebformHandlerEmailRenderingTest extends WebformBrowserTestBase {

    // Check that we are currently using the bartik.theme.
    $this->drupalGet('/webform/contact');
    $assert_session->responseContains('core/themes/bartik/css/base/elements.css');
    $assert_session->responseContains('bartik/css/base/elements.css');

    // Post submission and send emails.
    $edit = [
+2 −2
Original line number Diff line number Diff line
@@ -12,11 +12,11 @@ use Drupal\webform\Entity\Webform;
class WebformSubmissionViewsTest extends WebformBrowserTestBase {

  /**
   * Set default theme to classy to have view specific classes.
   * Set default theme to starterkit to have view specific classes.
   *
   * @var string
   */
  protected $defaultTheme = 'classy';
  protected $defaultTheme = 'starterkit_theme';

  /**
   * Modules to enable.
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ abstract class WebformWebDriverTestBase extends WebDriverTestBase {
   * @var string
   * @see https://www.drupal.org/node/3083055
   */
  protected $defaultTheme = 'classy';
  protected $defaultTheme = 'stark';

  /**
   * Modules to enable.