Commit 72341d40 authored by webchick's avatar webchick

Issue #2219913 by Mile23: Incorrect @covers/@coversDefaultClass breaks coverage reports.

parent dc15bf2e
......@@ -16,7 +16,7 @@
* @group Drupal
* @group User
*
* @coverDefaultClass \Drupal\user\UserAuth
* @coversDefaultClass \Drupal\user\UserAuth
*/
class UserAuthTest extends UnitTestCase {
......@@ -99,7 +99,7 @@ public function setUp() {
/**
* Tests failing authentication with missing credential parameters.
*
* @covers ::authenticate()
* @covers ::authenticate
*
* @dataProvider providerTestAuthenticateWithMissingCredentials
*/
......@@ -127,7 +127,7 @@ public function providerTestAuthenticateWithMissingCredentials() {
/**
* Tests the authenticate method with no account returned.
*
* @covers ::authenticate()
* @covers ::authenticate
*/
public function testAuthenticateWithNoAccountReturned() {
$this->userStorage->expects($this->once())
......@@ -141,7 +141,7 @@ public function testAuthenticateWithNoAccountReturned() {
/**
* Tests the authenticate method with an incorrect password.
*
* @covers ::authenticate()
* @covers ::authenticate
*/
public function testAuthenticateWithIncorrectPassword() {
$this->userStorage->expects($this->once())
......@@ -160,7 +160,7 @@ public function testAuthenticateWithIncorrectPassword() {
/**
* Tests the authenticate method with a correct password.
*
* @covers ::authenticate()
* @covers ::authenticate
*/
public function testAuthenticateWithCorrectPassword() {
$this->testUser->expects($this->once())
......@@ -183,7 +183,7 @@ public function testAuthenticateWithCorrectPassword() {
/**
* Tests the authenticate method with a correct password and new password hash.
*
* @covers ::authenticate()
* @covers ::authenticate
*/
public function testAuthenticateWithCorrectPasswordAndNewPasswordHash() {
$this->testUser->expects($this->once())
......
......@@ -13,7 +13,7 @@
/**
* Tests the Translation annotation.
*
* @covers \Drupal\Core\Annotation\Translation.
* @covers \Drupal\Core\Annotation\Translation
*/
class TranslationTest extends UnitTestCase {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment