]> source.dussan.org Git - nextcloud-server.git/commit
Find elements through the actor rather than the driver
authorDaniel Calviño Sánchez <danxuliu@gmail.com>
Fri, 5 Mar 2021 20:39:37 +0000 (21:39 +0100)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Mon, 8 Mar 2021 07:59:35 +0000 (07:59 +0000)
commit00b38db77fe933e769cfd2bc79c76e6c98231eae
tree45dd1c096c037c398cc8da238842ab083c734ea2
parentd293751ba7b1d1592f51e54cd584f82012a04a04
Find elements through the actor rather than the driver

"Actor::find" is a more robust way to look for elements, as it handles
some exceptions that may be thrown. Therefore, even if the elements are
not actually used and it is only checked whether they exist or not using
the actor is the preferred way when possible (and it also makes it
consistent with the rest of the acceptance tests).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
tests/acceptance/features/bootstrap/AppsManagementContext.php