Pull merge.
[yaffs-website] / web / core / tests / Drupal / FunctionalJavascriptTests / LegacyJavascriptTestBase.php
index 7cef5b8c6c37436e8c66bf2d981765bd7779bc43..70869d08b4e156a0297c0cbbd451c145b4d1383d 100644 (file)
@@ -5,16 +5,11 @@ namespace Drupal\FunctionalJavascriptTests;
 /**
  * Runs a browser test using PhantomJS.
  *
- * Base class for testing browser interaction implemented in JavaScript.
+ * @deprecated in Drupal 8.6.0, will be removed before Drupal 9.0.0.
+ * Use \Drupal\FunctionalJavascriptTests\WebDriverTestBase instead
+ *
+ * BC layer for testing browser interaction implemented in JavaScript.
  */
 abstract class LegacyJavascriptTestBase extends JavascriptTestBase {
 
-  /**
-   * {@inheritdoc}
-   */
-  public function assertSession($name = NULL) {
-    // Return a WebAssert that supports status code and header assertions.
-    return new JSWebAssert($this->getSession($name), $this->baseUrl);
-  }
-
 }