mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-16 14:48:11 +00:00
Remove method pointers from tests.
This commit is contained in:
@@ -53,7 +53,7 @@ class ProfileControllerTest extends TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController::changeEmail()
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController
|
||||
*/
|
||||
public function testChangeEmail(): void
|
||||
{
|
||||
@@ -64,7 +64,7 @@ class ProfileControllerTest extends TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController::changePassword
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController
|
||||
*/
|
||||
public function testChangePassword(): void
|
||||
{
|
||||
@@ -79,8 +79,7 @@ class ProfileControllerTest extends TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController::code
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController::getDomain
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController
|
||||
*/
|
||||
public function testCode(): void
|
||||
{
|
||||
@@ -97,7 +96,7 @@ class ProfileControllerTest extends TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController::confirmEmailChange()
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController
|
||||
* @expectedExceptionMessage Invalid token
|
||||
*/
|
||||
public function testConfirmEmailChangeNoToken(): void
|
||||
@@ -109,7 +108,7 @@ class ProfileControllerTest extends TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController::confirmEmailChange()
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController
|
||||
*/
|
||||
public function testConfirmEmailWithToken(): void
|
||||
{
|
||||
@@ -127,7 +126,7 @@ class ProfileControllerTest extends TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController::deleteAccount
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileControllerAccount
|
||||
*/
|
||||
public function testDeleteAccount(): void
|
||||
{
|
||||
@@ -142,7 +141,7 @@ class ProfileControllerTest extends TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController::deleteCode
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileControllerCode
|
||||
*/
|
||||
public function testDeleteCode(): void
|
||||
{
|
||||
@@ -267,7 +266,7 @@ class ProfileControllerTest extends TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController::postChangeEmail
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController
|
||||
*/
|
||||
public function testPostChangeEmail(): void
|
||||
{
|
||||
@@ -287,7 +286,7 @@ class ProfileControllerTest extends TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController::postChangeEmail
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController
|
||||
*/
|
||||
public function testPostChangeEmailExisting(): void
|
||||
{
|
||||
@@ -307,7 +306,7 @@ class ProfileControllerTest extends TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController::postChangeEmail
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController
|
||||
*/
|
||||
public function testPostChangeEmailSame(): void
|
||||
{
|
||||
@@ -324,8 +323,7 @@ class ProfileControllerTest extends TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController::postChangePassword
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController::validatePassword
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController
|
||||
*/
|
||||
public function testPostChangePassword(): void
|
||||
{
|
||||
@@ -348,8 +346,7 @@ class ProfileControllerTest extends TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController::postChangePassword
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController::validatePassword
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController
|
||||
*/
|
||||
public function testPostChangePasswordNotCorrect(): void
|
||||
{
|
||||
@@ -372,8 +369,7 @@ class ProfileControllerTest extends TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController::postChangePassword
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController::validatePassword
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController
|
||||
*/
|
||||
public function testPostChangePasswordSameNew(): void
|
||||
{
|
||||
@@ -396,7 +392,7 @@ class ProfileControllerTest extends TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController::postCode
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController
|
||||
*/
|
||||
public function testPostCode(): void
|
||||
{
|
||||
@@ -423,7 +419,7 @@ class ProfileControllerTest extends TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController::postDeleteAccount
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController
|
||||
*/
|
||||
public function testPostDeleteAccount(): void
|
||||
{
|
||||
@@ -443,7 +439,7 @@ class ProfileControllerTest extends TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController::postDeleteAccount
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController
|
||||
*/
|
||||
public function testPostDeleteAccountWrong(): void
|
||||
{
|
||||
@@ -463,7 +459,7 @@ class ProfileControllerTest extends TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController::regenerate()
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController
|
||||
*/
|
||||
public function testRegenerate(): void
|
||||
{
|
||||
@@ -490,7 +486,7 @@ class ProfileControllerTest extends TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController::undoEmailChange()
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController
|
||||
*/
|
||||
public function testUndoEmailChange(): void
|
||||
{
|
||||
@@ -519,7 +515,7 @@ class ProfileControllerTest extends TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController::undoEmailChange()
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController
|
||||
* @expectedExceptionMessage Invalid token
|
||||
*/
|
||||
public function testUndoEmailChangeBadHash(): void
|
||||
@@ -544,7 +540,7 @@ class ProfileControllerTest extends TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController::undoEmailChange()
|
||||
* @covers \FireflyIII\Http\Controllers\ProfileController
|
||||
* @expectedExceptionMessage Invalid token
|
||||
*/
|
||||
public function testUndoEmailChangeBadToken(): void
|
||||
|
||||
Reference in New Issue
Block a user