From 5814aee96a3792753c9dd7231547ac7883d55bcd Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Fri, 29 Nov 2019 14:08:03 +0000 Subject: [PATCH] Issue #3097447 by andypost, longwave: Remove remaining usage of NODE_NOT_PUBLISHED --- .../src/Functional/EditorPrivateFileReferenceFilterTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/modules/editor/tests/src/Functional/EditorPrivateFileReferenceFilterTest.php b/core/modules/editor/tests/src/Functional/EditorPrivateFileReferenceFilterTest.php index c99a53cb48d..20a9969170b 100644 --- a/core/modules/editor/tests/src/Functional/EditorPrivateFileReferenceFilterTest.php +++ b/core/modules/editor/tests/src/Functional/EditorPrivateFileReferenceFilterTest.php @@ -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 @@ class EditorPrivateFileReferenceFilterTest extends BrowserTestBase { // just-created file. $unpublished_node = $this->drupalCreateNode([ 'type' => 'page', - 'status' => NODE_NOT_PUBLISHED, + 'status' => NodeInterface::NOT_PUBLISHED, 'body' => [ 'value' => 'alt', 'format' => 'private_images',