Skip to content
Snippets Groups Projects
Unverified Commit 1cd610b1 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2960056 by Jo Fitzgerald: Add deprecation test to d6/DateField

parent c912fefc
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -24,6 +24,8 @@ class DateFieldTest extends UnitTestCase { ...@@ -24,6 +24,8 @@ class DateFieldTest extends UnitTestCase {
/** /**
* Tests an Exception is thrown when the field type is not a known date type. * Tests an Exception is thrown when the field type is not a known date type.
*
* @expectedDeprecation DateField is deprecated in Drupal 8.4.x and will be removed before Drupal 9.0.x. Use \Drupal\datetime\Plugin\migrate\field\DateField instead.
*/ */
public function testUnknownDateType() { public function testUnknownDateType() {
$this->migration = $this->prophesize('Drupal\migrate\Plugin\MigrationInterface')->reveal(); $this->migration = $this->prophesize('Drupal\migrate\Plugin\MigrationInterface')->reveal();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment