[CORE][Actor] Simplify logic so more is reused between different types of actors

Minor bug fixes
This commit is contained in:
2022-02-10 16:02:51 +00:00
parent 1f1524c2b3
commit 416451a519
22 changed files with 264 additions and 317 deletions

View File

@@ -33,8 +33,8 @@ class UserPanelTest extends GNUsocialTestCase
use AssertThrows;
/**
* @covers \App\Controller\UserPanel::allSettings
* @covers \App\Controller\UserPanel::personalInfo
* @covers \App\Controller\PersonSettings::allSettings
* @covers \App\Controller\PersonSettings::personalInfo
*/
public function testPersonalInfo()
{
@@ -66,8 +66,8 @@ class UserPanelTest extends GNUsocialTestCase
}
/**
* @covers \App\Controller\UserPanel::account
* @covers \App\Controller\UserPanel::allSettings
* @covers \App\Controller\PersonSettings::account
* @covers \App\Controller\PersonSettings::allSettings
*/
public function testAccount()
{
@@ -94,8 +94,8 @@ class UserPanelTest extends GNUsocialTestCase
}
/**
* @covers \App\Controller\UserPanel::account
* @covers \App\Controller\UserPanel::allSettings
* @covers \App\Controller\PersonSettings::account
* @covers \App\Controller\PersonSettings::allSettings
*/
public function testAccountWrongPassword()
{
@@ -115,8 +115,8 @@ class UserPanelTest extends GNUsocialTestCase
}
/**
* @covers \App\Controller\UserPanel::allSettings
* @covers \App\Controller\UserPanel::notifications
* @covers \App\Controller\PersonSettings::allSettings
* @covers \App\Controller\PersonSettings::notifications
*/
public function testNotifications()
{