Verified Commit 2a518a80 authored by Dave Long's avatar Dave Long
Browse files

Issue #3268833 by quietone, xjm, jungle, ravi.shankar, smustgrave, daffie,...

Issue #3268833 by quietone, xjm, jungle, ravi.shankar, smustgrave, daffie, Spokje, DanielVeza: Fix method comments in tests for Drupal.Commenting.DocComment.ShortSingleLine
parent f678235a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -48,6 +48,8 @@ protected function transform(array $value, Row $row = NULL) {
  }

  /**
   * Tests transforming a block with the same theme and an existing region.
   *
   * If the source and destination themes are identical, the region should only
   * be passed through if it actually exists in the destination theme.
   *
@@ -58,6 +60,8 @@ public function testTransformSameThemeRegionExists() {
  }

  /**
   * Tests transforming a block with the same theme and a non-existent region.
   *
   * If the source and destination themes are identical, the region should be
   * changed to 'content' if it doesn't exist in the destination theme.
   *
+1 −2
Original line number Diff line number Diff line
@@ -648,8 +648,7 @@ public function testViewsTranslationUI() {
  }

  /**
   * Tests the number of source elements for plural strings in config
   * translation forms.
   * Tests plural source elements in configuration translation forms.
   */
  public function testPluralConfigStringsSourceElements() {
    $this->drupalLogin($this->adminUser);
+1 −2
Original line number Diff line number Diff line
@@ -548,8 +548,7 @@ public function testNonTranslatableEntityTypeModeration() {
  }

  /**
   * Tests that a non-translatable entity type without a langcode can be
   * moderated.
   * Tests moderation of a non-translatable entity type with no langcode.
   */
  public function testNonLangcodeEntityTypeModeration() {
    // Unset the langcode entity key for 'entity_test_rev'.
+1 −2
Original line number Diff line number Diff line
@@ -407,8 +407,7 @@ public function verifySort($sort = 'asc', $order = 'Date') {
  }

  /**
   * Tests the escaping of links in the operation row of a database log detail
   * page.
   * Tests link escaping in the operation row of a database log detail page.
   */
  private function verifyLinkEscaping() {
    $link = Link::fromTextAndUrl('View', Url::fromRoute('entity.node.canonical', ['node' => 1]))->toString();
+4 −2
Original line number Diff line number Diff line
@@ -299,8 +299,10 @@ public function testAvailableFormatters() {
  }

  /**
   * Tests field settings for an entity reference field when the field has
   * multiple target bundles and is set to auto-create the target entity.
   * Tests field settings for an entity reference field.
   *
   * The tested entity reference field has multiple target bundles and is set
   * to auto-create the target entity.
   */
  public function testMultipleTargetBundles() {
    /** @var \Drupal\taxonomy\Entity\Vocabulary[] $vocabularies */
Loading