Skip to content

Commit 379a3d5

Browse files
committed
Fix test assumption since drupal/core fixed
Fixes #119
1 parent b2889d7 commit 379a3d5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/src/DeprecationRulesTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,11 @@ public function dataDeprecatedSamples(): \Generator
3232
];
3333
yield [
3434
__DIR__ . '/../fixtures/drupal/core/lib/Drupal/Core/Entity/EntityManager.php',
35-
3,
35+
2,
3636
[
3737
'Class Drupal\Core\Entity\EntityManager implements deprecated interface Drupal\Core\Entity\EntityManagerInterface:
3838
in drupal:8.0.0 and is removed from drupal:9.0.0.',
3939
'Method Drupal\\Core\\Entity\\EntityManager::setFieldMap() should return $this(Drupal\\Core\\Entity\\EntityManager) but returns Drupal\\Core\\Entity\\EntityFieldManager.',
40-
'Method Drupal\Core\Entity\EntityManager::clearDisplayModeInfo() should return $this(Drupal\Core\Entity\EntityManager) but return statement is missing.'
4140
]
4241
];
4342
yield [

0 commit comments

Comments
 (0)