Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / profiles / standard / tests / src / FunctionalJavascript / StandardJavascriptTest.php
index 81cc1481ee370fbb9531d96cb6344faa575f6cef..13973e0c5dc032b2295acd3b25eab626baa6f059 100644 (file)
@@ -2,7 +2,7 @@
 
 namespace Drupal\Tests\standard\FunctionalJavascript;
 
-use Drupal\FunctionalJavascriptTests\JavascriptTestBase;
+use Drupal\FunctionalJavascriptTests\WebDriverTestBase;
 use Drupal\node\Entity\Node;
 
 /**
@@ -10,7 +10,7 @@ use Drupal\node\Entity\Node;
  *
  * @group standard
  */
-class StandardJavascriptTest extends JavascriptTestBase {
+class StandardJavascriptTest extends WebDriverTestBase {
 
   /**
    * {@inheritdoc}
@@ -30,7 +30,7 @@ class StandardJavascriptTest extends JavascriptTestBase {
     $node = Node::create(['type' => 'article'])
       ->setTitle($this->randomMachineName())
       ->setPromoted(TRUE)
-      ->setPublished(TRUE);
+      ->setPublished();
     $node->save();
 
     // Front page: one placeholder, for messages.