You are here

public function FileModuleTest::testViewsFileStatus in Drupal 9

Tests the deprecation of _views_file_status().

@group legacy

File

core/modules/file/tests/src/Kernel/FileModuleTest.php, line 42

Class

FileModuleTest
Tests file.module methods.

Namespace

Drupal\Tests\file\Kernel

Code

public function testViewsFileStatus() {
  $this
    ->expectDeprecation('_views_file_status() is deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. There is no replacement. See https://www.drupal.org/node/3227228');
  $this
    ->assertIsArray(_views_file_status());
}