Skip to content

Commit

Permalink
fix(test): Disable broken test on oracle
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen committed Aug 13, 2024
1 parent dcacf51 commit a394dca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/Album/AlbumMapperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ protected function tearDown():void {
}

private function createFile(string $name, string $mimeType, int $size = 10, int $mtime = 10000, int $permissions = Constants::PERMISSION_ALL): int {
if ($this->connection->getDatabaseProvider() === IDBConnection::PLATFORM_ORACLE) {
$this->markTestSkipped('Feature is broken on oracle');
}

$mimeId = $this->mimeLoader->getId($mimeType);
$mimePartId = $this->mimeLoader->getId(substr($mimeType, strpos($mimeType, '/')));
$query = $this->connection->getQueryBuilder();
Expand Down

0 comments on commit a394dca

Please sign in to comment.