mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-24 03:18:26 +00:00
Fix compile warnings after scala update
This commit is contained in:
@ -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
|
||||
|
@ -193,7 +193,7 @@ class TempFtsOpsTest extends DatabaseTest {
|
||||
DocspellSystem.account.collective,
|
||||
CollectiveState.Active,
|
||||
Language.English,
|
||||
true,
|
||||
integrationEnabled = true,
|
||||
ts
|
||||
)
|
||||
|
||||
|
@ -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")
|
||||
|
Reference in New Issue
Block a user