Skip to content

Commit 039d325

Browse files
committed
Remove test about deprecated LOCATE() function in DBAL SQLite platform
See doctrine/dbal#5749
1 parent 0f98bd1 commit 039d325

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

tests/Type/Doctrine/Query/QueryResultTypeWalkerTest.php

-17
Original file line numberDiff line numberDiff line change
@@ -1530,23 +1530,6 @@ private function yieldConditionalDataset(): iterable
15301530
];
15311531
}
15321532

1533-
yield 'locate function' => [
1534-
$this->constantArray([
1535-
[new ConstantIntegerType(1), $this->uintOrStringified()],
1536-
[new ConstantIntegerType(2), TypeCombinator::addNull($this->uintOrStringified())],
1537-
[new ConstantIntegerType(3), TypeCombinator::addNull($this->uintOrStringified())],
1538-
[new ConstantIntegerType(4), $this->uintOrStringified()],
1539-
]),
1540-
'
1541-
SELECT LOCATE(m.stringColumn, m.stringColumn, 0),
1542-
LOCATE(m.stringNullColumn, m.stringColumn, 0),
1543-
LOCATE(m.stringColumn, m.stringNullColumn, 0),
1544-
LOCATE(\'f\', \'foo\', 0)
1545-
FROM QueryResult\Entities\Many m
1546-
',
1547-
null,
1548-
];
1549-
15501533
$ormVersion = InstalledVersions::getVersion('doctrine/orm');
15511534
$hasOrm3 = $ormVersion !== null && strpos($ormVersion, '3.') === 0;
15521535

0 commit comments

Comments
 (0)