mirror of
https://github.com/perstarkse/minne.git
synced 2026-04-25 10:18:38 +02:00
fix: all tests now in sync
This commit is contained in:
@@ -69,6 +69,7 @@ pub async fn retrieve_entities(
|
||||
mod tests {
|
||||
use super::*;
|
||||
use async_openai::Client;
|
||||
use common::storage::indexes::ensure_runtime_indexes;
|
||||
use common::storage::types::{
|
||||
knowledge_entity::{KnowledgeEntity, KnowledgeEntityType},
|
||||
knowledge_relationship::KnowledgeRelationship,
|
||||
@@ -108,6 +109,10 @@ mod tests {
|
||||
.await
|
||||
.expect("Failed to apply migrations");
|
||||
|
||||
ensure_runtime_indexes(&db, 3)
|
||||
.await
|
||||
.expect("failed to build runtime indexes");
|
||||
|
||||
db.query(
|
||||
"BEGIN TRANSACTION;
|
||||
REMOVE INDEX IF EXISTS idx_embedding_text_chunk_embedding ON TABLE text_chunk_embedding;
|
||||
|
||||
Reference in New Issue
Block a user