summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2019-08-08 10:54:12 +0200
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2019-08-16 08:20:41 +0200
commite5a305b9d8491a3bc13072dfbfea81ead6a34f8a (patch)
treed00e4b1bcedb353bfabbd3550a648115b21cb2ba
parent6db355848b624d7e48257a8a85eb35b3b8f9b9f5 (diff)
downloadnextcloud-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>
-rw-r--r--tests/acceptance/features/core/ActorAware.php2
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