X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Ftests%2FDrupal%2FTests%2FCore%2FEntity%2FEntityTypeRepositoryTest.php;fp=web%2Fcore%2Ftests%2FDrupal%2FTests%2FCore%2FEntity%2FEntityTypeRepositoryTest.php;h=915ecd68181735eb05d9269f05f7175b24e2e0cf;hp=5b372912199cb9ace90b7bd3593a787bcb09ed38;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/web/core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php b/web/core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php index 5b3729121..915ecd681 100644 --- a/web/core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php +++ b/web/core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php @@ -73,7 +73,9 @@ class EntityTypeRepositoryTest extends UnitTestCase { elseif (!$exception_on_invalid) { return NULL; } - else throw new PluginNotFoundException($entity_type_id); + else { + throw new PluginNotFoundException($entity_type_id); + } }); $this->entityTypeManager->getDefinitions()->willReturn($definitions); }