The first two commits of the original pull request are not included in this backport; the first one added the package dbus-x11, which was later removed in #333, and the second one upgraded Codeception to 2.3, which was not really needed (and without an update to composer.lock had no effect).
Backport of #330
Fixes https://github.com/nextcloud/gallery/pull/385#issuecomment-361259793
The first two commits of the original pull request are not included in this backport; the first one added the package
dbus-x11
, which was later removed in #333, and the second one upgraded Codeception to 2.3, which was not really needed (and without an update to composer.lock had no effect).