Removing PHPUnit::execute Coverage Tags

This commit is contained in:
Fenikkusu 2016-12-24 17:07:25 +07:00 committed by Dmitry Khomutov
commit 36cb6a020d
7 changed files with 0 additions and 127 deletions

View file

@ -40,9 +40,6 @@ class UserServiceTest extends \PHPUnit_Framework_TestCase
$this->testedService = new UserService($this->mockUserStore);
}
/**
* @covers PHPUnit::execute
*/
public function testExecute_CreateNonAdminUser()
{
$user = $this->testedService->createUser('Test', 'test@example.com', 'testing', 0);
@ -53,18 +50,12 @@ class UserServiceTest extends \PHPUnit_Framework_TestCase
$this->assertTrue(password_verify('testing', $user->getHash()));
}
/**
* @covers PHPUnit::execute
*/
public function testExecute_CreateAdminUser()
{
$user = $this->testedService->createUser('Test', 'test@example.com', 'testing', 1);
$this->assertEquals(1, $user->getIsAdmin());
}
/**
* @covers PHPUnit::execute
*/
public function testExecute_RevokeAdminStatus()
{
$user = new User();
@ -76,9 +67,6 @@ class UserServiceTest extends \PHPUnit_Framework_TestCase
$this->assertEquals(0, $user->getIsAdmin());
}
/**
* @covers PHPUnit::execute
*/
public function testExecute_GrantAdminStatus()
{
$user = new User();
@ -90,9 +78,6 @@ class UserServiceTest extends \PHPUnit_Framework_TestCase
$this->assertEquals(1, $user->getIsAdmin());
}
/**
* @covers PHPUnit::execute
*/
public function testExecute_ChangesPasswordIfNotEmpty()
{
$user = new User();
@ -103,9 +88,6 @@ class UserServiceTest extends \PHPUnit_Framework_TestCase
$this->assertTrue(password_verify('newpassword', $user->getHash()));
}
/**
* @covers PHPUnit::execute
*/
public function testExecute_DoesNotChangePasswordIfEmpty()
{
$user = new User();