Commit cbd860b3 authored by Ben Hayward's avatar Ben Hayward

Update

1 merge request!374[Sprint/PinkPanther](fix): Delete activity after moderation queue rejection #504
Pipeline #96800446 passed with stages
in 7 minutes and 33 seconds
......@@ -32,7 +32,7 @@ class Feeds
public function __construct($entitiesBuilder = null, $propagateRejection = null)
{
$this->entitiesBuilder = $entitiesBuilder ?: Di::_()->get('EntitiesBuilder');
$this->propagateRejection = $propagateRejection ?: new PropagateRejection();
$this->propagateRejection = $propagateRejection ?? new PropagateRejection();
}
/**
......
......@@ -11,7 +11,7 @@ use Minds\Entities\Group;
use PhpSpec\ObjectBehavior;
use Prophecy\Argument;
use Spec\Minds\Mocks;
use Core\Groups\Delegates\PropagateRejection;
use Minds\Core\Groups\Delegates\PropagateRejection;
class FeedsSpec extends ObjectBehavior
{
......@@ -54,7 +54,7 @@ class FeedsSpec extends ObjectBehavior
$this->_entitiesBuilder = $entitiesBuilder;
$this->_propagateRejection = $propagateRejection;
$this->_propagateRejection = $propagateRejection ?? new PropagateRejection();
$this->beConstructedWith($entitiesBuilder, $propagateRejection);
}
......
Please register or to comment