Loading core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php +0 −5 Original line number Diff line number Diff line Loading @@ -36,11 +36,6 @@ public function testGet(array $values, $expected) { $container->set('string_translation', $this->translationManager); \Drupal::setContainer($container); $arguments = isset($values['arguments']) ? $values['arguments'] : []; $options = isset($values['context']) ? [ 'context' => $values['context'], ] : []; $annotation = new Translation($values); $this->assertSame($expected, (string) $annotation->get()); Loading Loading
core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php +0 −5 Original line number Diff line number Diff line Loading @@ -36,11 +36,6 @@ public function testGet(array $values, $expected) { $container->set('string_translation', $this->translationManager); \Drupal::setContainer($container); $arguments = isset($values['arguments']) ? $values['arguments'] : []; $options = isset($values['context']) ? [ 'context' => $values['context'], ] : []; $annotation = new Translation($values); $this->assertSame($expected, (string) $annotation->get()); Loading