tests fix - sqlite driver

This commit is contained in:
Milos Stojanovic
2019-12-25 15:43:51 +01:00
parent 2548574acf
commit ab6ffa8afd
2 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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();