Redirect to files app after login in acceptance tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
e25bab98b7
commit
4679926511
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue