diff options
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/Module/AdminAccountEditTest.php | 9 | ||||
-rw-r--r-- | tests/unit/Module/TestCase.php | 3 |
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/unit/Module/AdminAccountEditTest.php b/tests/unit/Module/AdminAccountEditTest.php index dab646a45..fe682c527 100644 --- a/tests/unit/Module/AdminAccountEditTest.php +++ b/tests/unit/Module/AdminAccountEditTest.php @@ -15,6 +15,15 @@ use Zotlabs\Model\Account; class AdminAccountEditTest extends TestCase { + private $stub_is_site_admin; + private $stub_info; + private $stub_notice; + private $stub_check_security; + private $stub_get_form_security_token; + + private array $info; + private array $notice; + #[Before] public function setup_mocks(): void { /* diff --git a/tests/unit/Module/TestCase.php b/tests/unit/Module/TestCase.php index 81d8e61fc..1a4cf52fc 100644 --- a/tests/unit/Module/TestCase.php +++ b/tests/unit/Module/TestCase.php @@ -26,6 +26,9 @@ class TestCase extends UnitTestCase { // Import PHPMock methods into this class use \phpmock\phpunit\PHPMock; + protected $killme_stub; + protected $goaway_stub; + #[After] public function cleanup_stubs(): void { $this->killme_stub = null; |