Loading core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php +1 −1 Changes for core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -103,7 +103,7 @@ public function providerHasContextValue() { */ public function testHasContextValue($has_context_value, $default_value): void { $mock_definition = $this->getMockBuilder('Drupal\Component\Plugin\Context\ContextDefinitionInterface') ->setMethods(['getDefaultValue']) ->onlyMethods(['getDefaultValue']) ->getMockForAbstractClass(); $mock_definition->expects($this->atLeastOnce()) Loading Loading
core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php +1 −1 Changes for core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -103,7 +103,7 @@ public function providerHasContextValue() { */ public function testHasContextValue($has_context_value, $default_value): void { $mock_definition = $this->getMockBuilder('Drupal\Component\Plugin\Context\ContextDefinitionInterface') ->setMethods(['getDefaultValue']) ->onlyMethods(['getDefaultValue']) ->getMockForAbstractClass(); $mock_definition->expects($this->atLeastOnce()) Loading