diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2019-08-08 10:54:12 +0200 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2019-08-16 08:20:41 +0200 |
commit | e5a305b9d8491a3bc13072dfbfea81ead6a34f8a (patch) | |
tree | d00e4b1bcedb353bfabbd3550a648115b21cb2ba /tests | |
parent | 6db355848b624d7e48257a8a85eb35b3b8f9b9f5 (diff) | |
download | nextcloud-server-e5a305b9d8491a3bc13072dfbfea81ead6a34f8a.tar.gz nextcloud-server-e5a305b9d8491a3bc13072dfbfea81ead6a34f8a.zip |
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>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/acceptance/features/core/ActorAware.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/acceptance/features/core/ActorAware.php b/tests/acceptance/features/core/ActorAware.php index f1d355c1b0e..cc98ad7770d 100644 --- a/tests/acceptance/features/core/ActorAware.php +++ b/tests/acceptance/features/core/ActorAware.php @@ -26,7 +26,7 @@ trait ActorAware { /** * @var Actor */ - private $actor; + protected $actor; /** * @param Actor $actor |