mirror of
https://github.com/nextcloud/server.git
synced 2026-02-19 02:38:40 -05:00
Allow Context subclasses in acceptance tests to access parent actor
Although uncommon, in some cases a Context may need to be extended (for example, to override a step defined in the server with a specific behaviour in the acceptance tests of an app); in those cases the subclass should be able to access the actor attribute defined in the Context it is extending. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
parent
6db355848b
commit
e5a305b9d8
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ trait ActorAware {
|
|||
/**
|
||||
* @var Actor
|
||||
*/
|
||||
private $actor;
|
||||
protected $actor;
|
||||
|
||||
/**
|
||||
* @param Actor $actor
|
||||
|
|
|
|||
Loading…
Reference in a new issue