2
.github/workflows/integration.yml
vendored
2
.github/workflows/integration.yml
vendored
@@ -81,6 +81,8 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
mkdir data
|
mkdir data
|
||||||
./occ maintenance:install --verbose --database=${{ matrix.databases }} --database-name=nextcloud --database-host=127.0.0.1 --database-port=$DB_PORT --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass admin
|
./occ maintenance:install --verbose --database=${{ matrix.databases }} --database-name=nextcloud --database-host=127.0.0.1 --database-port=$DB_PORT --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass admin
|
||||||
|
cat config/config.php
|
||||||
|
./occ user:list
|
||||||
./occ app:enable --force ${{ env.APP_NAME }}
|
./occ app:enable --force ${{ env.APP_NAME }}
|
||||||
php -S localhost:8080 &
|
php -S localhost:8080 &
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ trait RequestTrait {
|
|||||||
|
|
||||||
public function __construct($baseUrl, $admin = 'admin', $regular_user_password = '123456') {
|
public function __construct($baseUrl, $admin = 'admin', $regular_user_password = '123456') {
|
||||||
$this->baseUrl = $baseUrl;
|
$this->baseUrl = $baseUrl;
|
||||||
$this->adminUser = $admin;
|
$this->adminUser = $admin === 'admin' ? ['admin', 'admin'] : $admin;
|
||||||
$this->regularUser = $regular_user_password;
|
$this->regularUser = $regular_user_password;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user