You are here

private function PublishOnlyRenderedTest::savePublisherSettings in Acquia Lift Connector 8.4

Saves publisher configuration.

Throws

\Exception

1 call to PublishOnlyRenderedTest::savePublisherSettings()
PublishOnlyRenderedTest::testOnEnqueueCandidateEntity in modules/acquia_lift_publisher/tests/src/Kernel/EventSubscriber/Publish/PublishOnlyRenderedTest.php
@covers ::onEnqueueCandidateEntity

File

modules/acquia_lift_publisher/tests/src/Kernel/EventSubscriber/Publish/PublishOnlyRenderedTest.php, line 210

Class

PublishOnlyRenderedTest
Class PublishOnlyRenderedTest.

Namespace

Drupal\Tests\acquia_lift_publisher\Kernel\EventSubscriber\Publish

Code

private function savePublisherSettings() : void {
  $this->publisherSettings
    ->save();
  $this->container
    ->get('acquia_lift_publisher.publishing_settings')
    ->setData($this->publisherSettings
    ->getRawData());
}