Stop doing unnecessary work when importing config entities
1 open thread
Closes #3415041
Merge request reports
Activity
added 1 commit
- 1fab04a1 - Stop using setSyncing() to prevent errors in a test
- Resolved by Alex Pott
638 639 640 /** 641 * @covers ::set 642 * @dataProvider providerTestSetAndPreSaveWithPluginCollections 643 */ 644 public function testSetWithPluginCollections(bool $syncing, string $expected_value) { 645 $instance_id = 'the_instance_id'; 646 $instance = new TestConfigurablePlugin(['foo' => 'original_value'], $instance_id, []); 647 648 $plugin_manager = $this->prophesize(PluginManagerInterface::class); 649 if ($syncing) { 650 $plugin_manager->createInstance(Argument::cetera())->shouldNotBeCalled(); 651 } 652 else { 653 $plugin_manager->createInstance($instance_id, Argument::any())->willReturn($instance); 654 } added 11 commits
-
b1cde366...22a493bb - 10 commits from branch
project:11.x
- bb921a25 - Merge branch '11.x' into 3415041-creating-blocks-that
-
b1cde366...22a493bb - 10 commits from branch
Please register or sign in to reply