We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bc280a4 + 58a6f99 commit da8702dCopy full SHA for da8702d
tests/src/Functional/SubsiteBlocksTest.php
@@ -3,6 +3,7 @@
3
namespace Drupal\Tests\localgov_subsites\Functional;
4
5
use Drupal\file\Entity\File;
6
+use Drupal\file\FileInterface;
7
use Drupal\media\Entity\Media;
8
use Drupal\node\NodeInterface;
9
use Drupal\paragraphs\Entity\Paragraph;
@@ -91,7 +92,7 @@ public function testSubsiteBannerBlock() {
91
92
$image = current($this->getTestFiles('image'));
93
$file = File::create([
94
'uri' => $image->uri,
- 'status' => FILE_STATUS_PERMANENT,
95
+ 'status' => FileInterface::STATUS_PERMANENT,
96
]);
97
$file->save();
98
0 commit comments