public function CliTest::testPull in Entity Share 8.2
Test pull command.
File
- modules/
entity_share_client/ tests/ src/ Functional/ CliTest.php, line 86
Class
- CliTest
- General functional test class for CLI integration.
Namespace
Drupal\Tests\entity_share_client\FunctionalCode
public function testPull() {
$channel_infos = $this->remoteManager
->getChannelsInfos($this->remote);
$channel_info = array_shift($channel_infos);
$channel_url = $channel_info['url'];
$this->cliService
->pull($this->remote, $channel_url);
$this
->checkCreatedEntities();
}