Skip to content
This repository was archived by the owner on Jan 5, 2018. It is now read-only.

Commit 037509b

Browse files
berdirBerdir
authored andcommitted
Issue #2703011 by Berdir: Convert FileEntityNormalizerTest to phpunit, enable schema validation
1 parent 0a3dcb9 commit 037509b

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

src/Tests/FileEntityNormalizerTest.php renamed to tests/src/Kernel/FileEntityNormalizerTest.php

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
22
/**
33
* @file
4-
* Contains \Drupal\file_entity\Tests\FileEntityNormalizerTest.
4+
* Contains \Drupal\Tests\file_entity\Kernel\FileEntityNormalizerTest.
55
*/
66

7-
namespace Drupal\file_entity\Tests;
7+
namespace Drupal\Tests\file_entity\Kernel;
88

99
use Drupal\Core\StreamWrapper\PublicStream;
1010
use Drupal\field\Entity\FieldConfig;
@@ -13,7 +13,7 @@
1313
use Drupal\file_entity\Entity\FileType;
1414
use Drupal\node\Entity\Node;
1515
use Drupal\node\Entity\NodeType;
16-
use Drupal\simpletest\KernelTestBase;
16+
use Drupal\KernelTests\KernelTestBase;
1717
use Drupal\system\Tests\Routing\MockRouteProvider;
1818
use Symfony\Component\Routing\Route;
1919
use Symfony\Component\Routing\RouteCollection;
@@ -45,13 +45,6 @@ class FileEntityNormalizerTest extends KernelTestBase {
4545
'system',
4646
);
4747

48-
/**
49-
* Disable strict schema checking until schema is updated.
50-
*
51-
* @todo Update schema and remove this.
52-
*/
53-
protected $strictConfigSchema = FALSE;
54-
5548
/**
5649
* {@inheritdoc}
5750
*/

0 commit comments

Comments
 (0)