Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
72341d40
Commit
72341d40
authored
Mar 24, 2014
by
Angie Byron
Browse files
Issue
#2219913
by Mile23: Incorrect @covers/@coversDefaultClass breaks coverage reports.
parent
dc15bf2e
Changes
2
Hide whitespace changes
Inline
Side-by-side
core/modules/user/tests/Drupal/user/Tests/UserAuthTest.php
View file @
72341d40
...
...
@@ -16,7 +16,7 @@
* @group Drupal
* @group User
*
* @coverDefaultClass \Drupal\user\UserAuth
* @cover
s
DefaultClass \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
())
...
...
core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php
View file @
72341d40
...
...
@@ -13,7 +13,7 @@
/**
* Tests the Translation annotation.
*
* @covers \Drupal\Core\Annotation\Translation
.
* @covers \Drupal\Core\Annotation\Translation
*/
class
TranslationTest
extends
UnitTestCase
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment