]> source.dussan.org Git - nextcloud-server.git/commit
Allow Context subclasses in acceptance tests to access parent actor 16756/head
authorDaniel Calviño Sánchez <danxuliu@gmail.com>
Thu, 8 Aug 2019 08:54:12 +0000 (10:54 +0200)
committerDaniel Calviño Sánchez <danxuliu@gmail.com>
Fri, 16 Aug 2019 06:20:41 +0000 (08:20 +0200)
commite5a305b9d8491a3bc13072dfbfea81ead6a34f8a
treed00e4b1bcedb353bfabbd3550a648115b21cb2ba
parent6db355848b624d7e48257a8a85eb35b3b8f9b9f5
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>
tests/acceptance/features/core/ActorAware.php