X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Faggregator%2Fsrc%2FTests%2FUpdate%2FAggregatorUpdateTest.php;fp=web%2Fcore%2Fmodules%2Faggregator%2Fsrc%2FTests%2FUpdate%2FAggregatorUpdateTest.php;h=0000000000000000000000000000000000000000;hp=374a38e89a962a828c7f9b2df9414701bccae918;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/web/core/modules/aggregator/src/Tests/Update/AggregatorUpdateTest.php b/web/core/modules/aggregator/src/Tests/Update/AggregatorUpdateTest.php deleted file mode 100644 index 374a38e89..000000000 --- a/web/core/modules/aggregator/src/Tests/Update/AggregatorUpdateTest.php +++ /dev/null @@ -1,41 +0,0 @@ -databaseDumpFiles = [ - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.filled.standard.php.gz', - ]; - } - - /** - * Tests that the 'Source feed' field is required. - * - * @see aggregator_update_8200() - */ - public function testSourceFeedRequired() { - // Check that the 'fid' field is not required prior to the update. - $field_definition = \Drupal::entityDefinitionUpdateManager()->getFieldStorageDefinition('fid', 'aggregator_item'); - $this->assertFalse($field_definition->isRequired()); - - // Run updates. - $this->runUpdates(); - - // Check that the 'fid' field is now required. - $field_definition = \Drupal::entityDefinitionUpdateManager()->getFieldStorageDefinition('fid', 'aggregator_item'); - $this->assertTrue($field_definition->isRequired()); - } - -}