Skip to content

Commit 1775e2b

Browse files
authored
wip
1 parent 2b4fc9a commit 1775e2b

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.github/workflows/tests.yml

+5-6
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,6 @@ jobs:
1818
laravel: [5.8.*, 6.*, 7.*, 8.*, 9.*, 10.*, 11.*, 12.*]
1919
os: [ubuntu-latest]
2020
include:
21-
- laravel: 12.*
22-
testbench: 10.*
23-
dbal: 3.*
24-
- laravel: 11.*
25-
testbench: 9.*
26-
dbal: 3.*
2721
- laravel: 10.*
2822
testbench: 8.*
2923
dbal: 3.*
@@ -131,6 +125,11 @@ jobs:
131125
extension: mbstring, pdo, pdo_sqlite
132126
coverage: none
133127

128+
- name: Require DBAL
129+
run: |
130+
composer require "doctrine/dbal:${{ matrix.dbal }}" --dev --no-interaction --no-update
131+
if: matrix.dbal
132+
134133
- name: Install dependencies
135134
run: |
136135
composer require "doctrine/dbal:${{ matrix.dbal }}" --dev --no-interaction --no-update

tests/SushiTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ function columns_with_varying_types()
6060
$this->assertEquals('float', $connectionBuilder->getColumnType('model_with_varying_type_columns', 'float'));
6161
$this->assertEquals('datetime', $connectionBuilder->getColumnType('model_with_varying_type_columns', 'dateTime'));
6262
$this->assertEquals(
63-
function_exists(laravel_version_compare::class) && laravel_version_compare('12.0.0', '>=') ? 'varchar' : 'string',
63+
function_exists(laravel_version_compare::class) && laravel_version_compare('11.0.0', '>=') ? 'varchar' : 'string',
6464
$connectionBuilder->getColumnType('model_with_varying_type_columns', 'string')
6565
);
6666
$this->assertEquals(null, $row->null);

0 commit comments

Comments
 (0)