protected function RevisionTest::setUp in Entity Share 8.3
Overrides EntityShareClientFunctionalTestBase::setUp
File
- modules/
entity_share_client/ tests/ src/ Functional/ RevisionTest.php, line 44
Class
- RevisionTest
- Functional test class to test import plugin "Revision".
Namespace
Drupal\Tests\entity_share_client\FunctionalCode
protected function setUp() : void {
parent::setUp();
// Prepare content in the initial state.
$this
->prepareContent();
$this
->populateRequestService();
// Modify the content and populate the JSON:API request mapping, but
// slightly alter the URL so that we have both states cached. The second
// URL will be fetched when we need to pull the "modified" entities.
$this
->editContentAndRepopulate(2);
// Now we can delete the "remote" entities.
$this
->deleteContent();
}