diff options
-rw-r--r-- | tests/acceptance/features/bootstrap/LoginPageContext.php | 2 | ||||
-rwxr-xr-x | tests/acceptance/installAndConfigureServer.sh | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/acceptance/features/bootstrap/LoginPageContext.php b/tests/acceptance/features/bootstrap/LoginPageContext.php index bf44d31fb03..08046c6e3a3 100644 --- a/tests/acceptance/features/bootstrap/LoginPageContext.php +++ b/tests/acceptance/features/bootstrap/LoginPageContext.php @@ -91,7 +91,7 @@ class LoginPageContext implements Context, ActorAwareInterface { */ public function iSeeThatTheCurrentPageIsTheLoginPage() { PHPUnit_Framework_Assert::assertStringStartsWith( - $this->actor->locatePath("/login"), + $this->actor->locatePath("/login?redirect_url=/index.php/apps/files"), $this->actor->getSession()->getCurrentUrl()); } diff --git a/tests/acceptance/installAndConfigureServer.sh b/tests/acceptance/installAndConfigureServer.sh index d24405fa448..99d51e951af 100755 --- a/tests/acceptance/installAndConfigureServer.sh +++ b/tests/acceptance/installAndConfigureServer.sh @@ -39,6 +39,8 @@ OC_PASS=123456acb php occ user:add --password-from-env user1 OC_PASS=123456acb php occ user:add --password-from-env disabledUser php occ user:disable disabledUser +php occ app:disable dashboard + if [ "$NEXTCLOUD_SERVER_DOMAIN" != "" ]; then # Default first trusted domain is "localhost"; replace it with given domain. php occ config:system:set trusted_domains 0 --value="$NEXTCLOUD_SERVER_DOMAIN" |