Updated all the contrib modules to their latest versions.
[yaffs-website] / web / modules / contrib / paragraphs / src / Tests / Experimental / ParagraphsExperimentalContactTest.php
diff --git a/web/modules/contrib/paragraphs/src/Tests/Experimental/ParagraphsExperimentalContactTest.php b/web/modules/contrib/paragraphs/src/Tests/Experimental/ParagraphsExperimentalContactTest.php
deleted file mode 100644 (file)
index 30133c9..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-<?php
-
-namespace Drupal\paragraphs\Tests\Experimental;
-
-use Drupal\contact\Entity\ContactForm;
-
-/**
- * Tests paragraphs with contact forms.
- *
- * @group paragraphs
- */
-class ParagraphsExperimentalContactTest extends ParagraphsExperimentalTestBase {
-
-  /**
-   * Modules to enable.
-   *
-   * @var array
-   */
-  public static $modules = array(
-    'contact',
-  );
-
-  /**
-   * Tests adding paragraphs in contact forms.
-   */
-  public function testContactForm() {
-    $this->loginAsAdmin([
-      'administer contact forms',
-      'access site-wide contact form'
-    ]);
-    // Add a paragraph type.
-    $this->addParagraphsType('paragraphs_contact');
-    $this->addParagraphsType('text');
-
-    // Create a contact form.
-    $contact_form = ContactForm::create(['id' => 'test_contact_form']);
-    $contact_form->save();
-    // Add a paragraphs field to the contact form.
-    $this->addParagraphsField($contact_form->id(), 'paragraphs', 'contact_message');
-    // Add a paragraph to the contact form.
-    $this->drupalGet('contact/test_contact_form');
-    $this->drupalPostAjaxForm(NULL, [], 'paragraphs_paragraphs_contact_add_more');
-    // Check that the paragraph is displayed.
-    $this->assertText('paragraphs_contact');
-    $this->drupalPostAjaxForm(NULL, [], 'paragraphs_0_remove');
-    $this->assertText('No Paragraph added yet.');
-  }
-}