Loading tests/src/Functional/GeofieldWidgetTest.php +1 −1 Changes for tests/src/Functional/GeofieldWidgetTest.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -54,7 +54,7 @@ class GeofieldWidgetTest extends FieldTestBase { /** * {@inheritdoc} */ protected function setUp() { protected function setUp(): void { parent::setUp(); $this->fieldStorage = FieldStorageConfig::create([ Loading tests/src/Kernel/ConstraintsTest.php +1 −3 Changes for tests/src/Kernel/ConstraintsTest.php: 1 added line, 3 removed lines. Original line number Diff line number Diff line Loading @@ -34,9 +34,7 @@ class ConstraintsTest extends KernelTestBase { $constraint = new GeoConstraint(); $this->assertEquals('"@value" is not a valid geospatial content.', $constraint->message, 'Correct constraint message found.'); $execution_context = $this->getMockBuilder('\Drupal\Core\TypedData\Validation\ExecutionContext') ->disableOriginalConstructor() ->getMock(); $execution_context = $this->createMock('\Drupal\Core\TypedData\Validation\ExecutionContext'); if ($expected_violation_count) { $execution_context->expects($this->exactly($expected_violation_count)) Loading tests/src/Kernel/GeofieldFormatterTest.php +1 −1 Changes for tests/src/Kernel/GeofieldFormatterTest.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -38,7 +38,7 @@ class GeofieldFormatterTest extends EntityKernelTestBase { /** * {@inheritdoc} */ protected function setUp() { protected function setUp(): void { parent::setUp(); FieldStorageConfig::create([ Loading tests/src/Kernel/GeofieldItemTest.php +1 −1 Changes for tests/src/Kernel/GeofieldItemTest.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -40,7 +40,7 @@ class GeofieldItemTest extends FieldKernelTestBase { /** * {@inheritdoc} */ protected function setUp() { protected function setUp(): void { parent::setUp(); $this->installEntitySchema('entity_test_rev'); Loading tests/src/Kernel/WktGeneratorTest.php +1 −1 Changes for tests/src/Kernel/WktGeneratorTest.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -70,7 +70,7 @@ class WktGeneratorTest extends KernelTestBase { /** * {@inheritdoc} */ protected function setUp() { protected function setUp(): void { parent::setUp(); $this->wktGenerator = \Drupal::service('geofield.wkt_generator'); } Loading Loading
tests/src/Functional/GeofieldWidgetTest.php +1 −1 Changes for tests/src/Functional/GeofieldWidgetTest.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -54,7 +54,7 @@ class GeofieldWidgetTest extends FieldTestBase { /** * {@inheritdoc} */ protected function setUp() { protected function setUp(): void { parent::setUp(); $this->fieldStorage = FieldStorageConfig::create([ Loading
tests/src/Kernel/ConstraintsTest.php +1 −3 Changes for tests/src/Kernel/ConstraintsTest.php: 1 added line, 3 removed lines. Original line number Diff line number Diff line Loading @@ -34,9 +34,7 @@ class ConstraintsTest extends KernelTestBase { $constraint = new GeoConstraint(); $this->assertEquals('"@value" is not a valid geospatial content.', $constraint->message, 'Correct constraint message found.'); $execution_context = $this->getMockBuilder('\Drupal\Core\TypedData\Validation\ExecutionContext') ->disableOriginalConstructor() ->getMock(); $execution_context = $this->createMock('\Drupal\Core\TypedData\Validation\ExecutionContext'); if ($expected_violation_count) { $execution_context->expects($this->exactly($expected_violation_count)) Loading
tests/src/Kernel/GeofieldFormatterTest.php +1 −1 Changes for tests/src/Kernel/GeofieldFormatterTest.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -38,7 +38,7 @@ class GeofieldFormatterTest extends EntityKernelTestBase { /** * {@inheritdoc} */ protected function setUp() { protected function setUp(): void { parent::setUp(); FieldStorageConfig::create([ Loading
tests/src/Kernel/GeofieldItemTest.php +1 −1 Changes for tests/src/Kernel/GeofieldItemTest.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -40,7 +40,7 @@ class GeofieldItemTest extends FieldKernelTestBase { /** * {@inheritdoc} */ protected function setUp() { protected function setUp(): void { parent::setUp(); $this->installEntitySchema('entity_test_rev'); Loading
tests/src/Kernel/WktGeneratorTest.php +1 −1 Changes for tests/src/Kernel/WktGeneratorTest.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -70,7 +70,7 @@ class WktGeneratorTest extends KernelTestBase { /** * {@inheritdoc} */ protected function setUp() { protected function setUp(): void { parent::setUp(); $this->wktGenerator = \Drupal::service('geofield.wkt_generator'); } Loading