Commit 4a11d6a3 authored by alexpott's avatar alexpott

Issue #3097447 by andypost, longwave: Remove remaining usage of NODE_NOT_PUBLISHED

(cherry picked from commit 5814aee9)
parent 7fe11f56
......@@ -3,6 +3,7 @@
namespace Drupal\Tests\editor\Functional;
use Drupal\file\Entity\File;
use Drupal\node\NodeInterface;
use Drupal\Tests\BrowserTestBase;
use Drupal\user\Entity\Role;
use Drupal\user\RoleInterface;
......@@ -97,7 +98,7 @@ public function testEditorPrivateFileReferenceFilter() {
// just-created file.
$unpublished_node = $this->drupalCreateNode([
'type' => 'page',
'status' => NODE_NOT_PUBLISHED,
'status' => NodeInterface::NOT_PUBLISHED,
'body' => [
'value' => '<img alt="alt" data-entity-type="file" data-entity-uuid="' . $file->uuid() . '" src="' . $src . '" />',
'format' => 'private_images',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment