Commit 22a1fd62 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2409587 by Cogax: Incorrect documentation for @covers

parent 527f6dbe
Loading
Loading
Loading
Loading
+3 −3
Changes for core/modules/migrate/tests/src/Unit/RowTest.php: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -179,8 +179,8 @@ public function testHashing() {
  /**
   * Tests getting/setting the ID Map.
   *
   * @covers \Drupal\migrate\Row::setIdMap
   * @covers \Drupal\migrate\Row::getIdMap
   * @covers ::setIdMap
   * @covers ::getIdMap
   */
  public function testGetSetIdMap() {
    $row = new Row($this->testValues, $this->testSourceIds);
@@ -204,7 +204,7 @@ public function testSourceIdValues() {
  /**
   * Tests getting the source property.
   *
   * @covers \Drupal\migrate\Row::getSourceProperty
   * @covers ::getSourceProperty
   */
  public function testGetSourceProperty() {
    $row = new Row($this->testValues, $this->testSourceIds);
+2 −2
Changes for core/modules/path/tests/src/Unit/Field/PathFieldDefinitionTest.php: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -32,8 +32,8 @@ protected function getModuleAndPath() {
  /**
   * Tests BaseFieldDefinition::getColumns().
   *
   * @covers \Drupal\Core\Field\BaseFieldDefinition::getColumns
   * @covers \Drupal\path\Plugin\Field\FieldType\PathItem::schema
   * @covers ::getColumns
   * @covers ::schema
   */
  public function testGetColumns() {
    $this->assertSame(array(), $this->definition->getColumns());
+1 −1
Changes for core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -498,7 +498,7 @@ public function testCheckNamedRouteWithUpcastedValues() {
  /**
   * Tests the checkNamedRoute with default values.
   *
   * @covers \Drupal\Core\Access\AccessManager::checkNamedRoute
   * @covers ::checkNamedRoute
   */
  public function testCheckNamedRouteWithDefaultValue() {
    $this->routeCollection = new RouteCollection();
+1 −1
Changes for core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ protected function setUp() {
  }

  /**
   * @covers \Drupal\Core\Annotation\Translation::get
   * @covers ::get
   *
   * @dataProvider providerTestGet
   */
+1 −1
Changes for core/tests/Drupal/Tests/Core/Controller/AjaxRendererTest.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@ protected function setUp() {
  /**
   * Tests the content method.
   *
   * @covers \Drupal\Core\Render\MainContent\AjaxRenderer::renderResponse
   * @covers ::renderResponse
   */
  public function testRenderWithFragmentObject() {
    $main_content = ['#markup' => 'example content'];
Loading