Commit 36fbe7fb authored by Pravin Gaikwad's avatar Pravin Gaikwad
Browse files

Issue #3314395 by Rajeshreeputra: Coding standards issue

parent b5ae1de2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
{
    "name": "drupal/entity_clone",
    "type": "drupal-module",
    "description": "Add a clone action for all entities.",
    "homepage": "https://drupal.org/project/entity_clone",
    "type": "drupal-module",
    "license": "GPL-2.0-or-later",
    "require-dev": {
        "drupal/entity_browser": "2.x-dev",
+7 −1
Original line number Diff line number Diff line
<?php

use Symfony\Component\EventDispatcher\EventSubscriberInterface;
/**
 * @file
 * Hooks provided by the entity_clone module.
 */

use Drupal\entity_clone\Event\EntityCloneEvent;
use Drupal\entity_clone\Event\EntityCloneEvents;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;

/**
 * @file
 * Entity Clone hooks and events.
+1 −3
Original line number Diff line number Diff line
@@ -97,9 +97,7 @@ class EntityCloneContactTest extends BrowserTestBase {
    ];
    $this->drupalGet('entity_clone/contact_form/' . $contact_form->id());
    $this->submitForm($edit, $this->t('Clone'));
    // TODO: Drupal Rector Notice: Please delete the following comment after you've made any necessary changes.
    // Verify the assertion: pageTextContains() for HTML responses, responseContains() for non-HTML responses.
    // The passed text should be HTML decoded, exactly as a human sees it in the browser.

    $this->assertSession()->pageTextContains('New Id cannot be longer than 32 characters');
  }

+1 −3
Original line number Diff line number Diff line
@@ -95,9 +95,7 @@ class EntityCloneImageStyleTest extends BrowserTestBase {
    ];
    $this->drupalGet('entity_clone/image_style/' . $image_style->id());
    $this->submitForm($edit, $this->t('Clone'));
    // TODO: Drupal Rector Notice: Please delete the following comment after you've made any necessary changes.
    // Verify the assertion: pageTextContains() for HTML responses, responseContains() for non-HTML responses.
    // The passed text should be HTML decoded, exactly as a human sees it in the browser.

    $this->assertSession()->pageTextContains('New Id cannot be longer than 64 characters');
  }