diff --git a/tests/Support/Factory/OracleFactory.php b/tests/Support/Factory/OracleFactory.php index 44e2548..1b40a18 100644 --- a/tests/Support/Factory/OracleFactory.php +++ b/tests/Support/Factory/OracleFactory.php @@ -40,7 +40,7 @@ static function (string $id) use (&$container, $config): object { return match ($id) { ConnectionInterface::class => new OracleConnection( new OracleDriver( - 'oci:dbname=localhost:1521;charset=AL32UTF8', + 'oci:dbname=localhost:1521/XE;charset=AL32UTF8', 'system', 'root', ), @@ -83,7 +83,7 @@ public static function clearDatabase(ContainerInterface $container): void $command = $db->createCommand(); foreach ($tables as $table) { - $command->dropTable($table)->execute(); + $command->setSql('DROP TABLE "' . $table . '" CASCADE CONSTRAINTS')->execute(); } $db->close();