Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / block_content / tests / src / Functional / UnpublishedBlockTest.php
index 026b0e5c21de3f4de29114cb32866931c6162f61..8f87ccacccafd5731ed93fce6520ed9d3b33b33f 100644 (file)
@@ -36,7 +36,7 @@ class UnpublishedBlockTest extends BrowserTestBase {
     $page = $this->getSession()->getPage();
     $this->assertTrue($page->has('css', '.block-block-content' . $block_content->uuid()));
 
-    $block_content->setPublished(FALSE);
+    $block_content->setUnpublished();
     $block_content->save();
 
     $this->drupalGet('<front>');