X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Ftests%2FDrupal%2FTests%2FCore%2FField%2FFieldDefinitionListenerTest.php;fp=web%2Fcore%2Ftests%2FDrupal%2FTests%2FCore%2FField%2FFieldDefinitionListenerTest.php;h=8bedf0750f035607795b0bb79f7d99e37c1fb53d;hp=01d0bb2686c2e107af3eb9793c5be466e143eb07;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/web/core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php b/web/core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php index 01d0bb268..8bedf0750 100644 --- a/web/core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php +++ b/web/core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php @@ -101,7 +101,9 @@ class FieldDefinitionListenerTest 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); }