1
0
Fork 0

Add tests for InstanceManager and remove Decorator hook logic (avoid complex Dice logic)

This commit is contained in:
Philipp Holzer 2023-07-17 00:10:15 +02:00
commit 93af6f0564
Signed by: nupplaPhil
GPG key ID: 24A7501396EB5432
14 changed files with 218 additions and 390 deletions

View file

@ -21,7 +21,7 @@
namespace Friendica\Test\Util\Hooks\InstanceMocks;
class FakeInstance
class FakeInstance implements IAmADecoratedInterface
{
protected $aText = null;
protected $cBool = null;
@ -39,6 +39,8 @@ class FakeInstance
$this->aText = $aText;
$this->cBool = $cBool;
$this->bText = $bText;
return '';
}
public function getAText(): ?string