public function GatherContentUploadTest::testProcessPanesMetatag in GatherContent 8.5
Tests field manipulation for metatag content.
File
- gathercontent_upload/
tests/ src/ Kernel/ GatherContentUploadTest.php, line 189
Class
- GatherContentUploadTest
- @coversDefaultClass \Drupal\gathercontent_upload\Export\Exporter @group gathercontent_upload
Namespace
Drupal\Tests\gathercontent_upload\KernelCode
public function testProcessPanesMetatag() {
$node = $this
->getMetatagNode();
$gcItem = $this
->getMetatagItem();
$mapping = $this
->getMapping($gcItem);
$modifiedItem = $this->exporter
->processGroups($node, $mapping);
$this
->assertNotEmpty($modifiedItem);
$this
->assertItemChangedMetatag($modifiedItem, $node);
}