fix(oracle): Don't run tests against unsupported Oracle version anymore

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/56729/head
Joas Schilling 2025-11-27 14:39:51 +07:00
parent 39e94ef927
commit 7a4167fe28
No known key found for this signature in database
GPG Key ID: F72FA5B49FFA96B0
2 changed files with 0 additions and 12 deletions

@ -60,8 +60,6 @@ jobs:
fail-fast: false
matrix:
include:
- oracle-versions: '11'
php-versions: '8.2'
- oracle-versions: '18'
php-versions: '8.2'
coverage: ${{ github.event_name != 'pull_request' }}

@ -142,16 +142,6 @@ class ExpressionBuilderDBTest extends TestCase {
}
public function testJson(): void {
if ($this->connection->getDatabaseProvider(true) === IDBConnection::PLATFORM_ORACLE) {
$result = $this->connection->executeQuery('SELECT VERSION FROM PRODUCT_COMPONENT_VERSION');
$version = $result->fetchOne();
$result->closeCursor();
if (str_starts_with($version, '11.')) {
$this->markTestSkipped('JSON is not supported on Oracle 11, skipping until deprecation was clarified: ' . $version);
}
}
$appId = $this->getUniqueID('testing');
$query = $this->connection->getQueryBuilder();
$query->insert('share')