mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
fix(oracle): Don't run tests against unsupported Oracle version anymore
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
39e94ef927
commit
7a4167fe28
2 changed files with 0 additions and 12 deletions
2
.github/workflows/phpunit-oci.yml
vendored
2
.github/workflows/phpunit-oci.yml
vendored
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Reference in a new issue