From e5a305b9d8491a3bc13072dfbfea81ead6a34f8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Calvi=C3=B1o=20S=C3=A1nchez?= Date: Thu, 8 Aug 2019 10:54:12 +0200 Subject: [PATCH] Allow Context subclasses in acceptance tests to access parent actor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- tests/acceptance/features/core/ActorAware.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/acceptance/features/core/ActorAware.php b/tests/acceptance/features/core/ActorAware.php index f1d355c1b0..cc98ad7770 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