Fix compile warnings after scala update

This commit is contained in:
eikek
2024-03-03 18:43:54 +01:00
parent 3e76385d08
commit 924aaf720e
79 changed files with 383 additions and 256 deletions

View File

@ -106,7 +106,7 @@ object StoreFixture {
for {
xa <- makeXA(ds)
cfg = FileRepositoryConfig.Database(64 * 1024)
fr = FileRepository[IO](xa, ds, cfg, true)
fr = FileRepository[IO](xa, ds, cfg, withAttributeStore = true)
store = new StoreImpl[IO](fr, jdbc, schemaMigrateConfig, ds, xa)
_ <- Resource.eval(store.migrate)
} yield store

View File

@ -193,7 +193,7 @@ class TempFtsOpsTest extends DatabaseTest {
DocspellSystem.account.collective,
CollectiveState.Active,
Language.English,
true,
integrationEnabled = true,
ts
)

View File

@ -39,7 +39,7 @@ class QueryBuilderTest extends FunSuite with TestLoggingConfig {
val q = Select(proj, tables, cond).orderBy(c.name.desc)
q match {
case Select.Ordered(
Select.SimpleSelect(false, proj, from, where, group),
Select.SimpleSelect(false, projs, from, where, group),
sb,
vempty
) =>
@ -48,7 +48,7 @@ class QueryBuilderTest extends FunSuite with TestLoggingConfig {
sb,
OrderBy(SelectExpr.SelectColumn(c.name, None), OrderBy.OrderType.Desc)
)
assertEquals(11, proj.size)
assertEquals(11, projs.size)
from match {
case None =>
fail("Unexpected from value")