Commit 321fb868 authored by Mark Harding's avatar Mark Harding

(fix): spec test shgould expire isMature to be called

No related merge requests found
Pipeline #64118826 running with stages
......@@ -90,6 +90,10 @@ class SaveSpec extends ObjectBehavior
->shouldBeCalled()
->willReturn([]);
$owner->isMature()
->shouldBeCalled()
->willReturn(false);
$activity->getOwnerEntity()
->shouldBeCalled()
->willReturn($owner);
......@@ -128,6 +132,10 @@ class SaveSpec extends ObjectBehavior
->shouldBeCalled()
->willReturn($nsfw);
$owner->isMature()
->shouldBeCalled()
->willReturn(false);
$activity->getOwnerEntity()
->shouldBeCalled()
->willReturn($owner);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment