mirror of
https://github.com/filegator/filegator.git
synced 2025-08-05 22:37:41 +02:00
tests fix - sqlite driver
This commit is contained in:
4
.github/workflows/php.yml
vendored
4
.github/workflows/php.yml
vendored
@@ -9,7 +9,7 @@ jobs:
|
|||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
php-version: ['7.1', '7.2', '7.3']
|
php-version: ['7.1', '7.2', '7.3', '7.4']
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@@ -19,7 +19,7 @@ jobs:
|
|||||||
uses: shivammathur/setup-php@v1
|
uses: shivammathur/setup-php@v1
|
||||||
with:
|
with:
|
||||||
php-version: ${{ matrix.php-version }}
|
php-version: ${{ matrix.php-version }}
|
||||||
extensions: mbstring, zip, pdo, PDO
|
extensions: mbstring, zip
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: composer install --no-interaction
|
run: composer install --no-interaction
|
||||||
|
@@ -23,9 +23,9 @@ class DatabaseAuthTest extends AuthTest
|
|||||||
{
|
{
|
||||||
$this->auth = new Database($this->session);
|
$this->auth = new Database($this->session);
|
||||||
$this->auth->init([
|
$this->auth->init([
|
||||||
'driver' => 'pdo',
|
'driver' => 'sqlite',
|
||||||
'dsn' => 'sqlite::memory:',
|
'dsn' => 'sqlite::memory:',
|
||||||
'database' => 'users',
|
'database' => 'tests/backend/tmp/temp/sqlite',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$this->conn = $this->auth->getConnection();
|
$this->conn = $this->auth->getConnection();
|
||||||
|
Reference in New Issue
Block a user