Commit 8b35aa62 authored by Mark Harding's avatar Mark Harding

(fix): acl spec tests require access to type and owner_guid

1 merge request!100Epic/reporting and moderation
Pipeline #61879609 failed with stages
in 4 minutes and 59 seconds
......@@ -42,6 +42,7 @@ class ACLSpec extends ObjectBehavior
$entity->get('access_id')->willReturn(2);
$entity->get('container_guid')->willReturn(123);
$entity->get('owner_guid')->willReturn(123);
$entity->get('type')->willReturn('activity');
$this->read($entity)->shouldReturn(true);
}
......@@ -49,6 +50,8 @@ class ACLSpec extends ObjectBehavior
{
$entity->getType()->willReturn('specy');
$entity->get('access_id')->willReturn(0);
$entity->get('owner_guid')->willReturn(123);
$entity->get('type')->willReturn('activity');
$this->read($entity)->shouldReturn(false);
}
......
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