Skip to content

Commit

Permalink
check moves and position tables
Browse files Browse the repository at this point in the history
  • Loading branch information
Larkooo committed Jan 29, 2025
1 parent 7205ac0 commit 3ac6108
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/torii/indexer/src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,9 @@ async fn test_load_from_remote_del(sequencer: &RunnerCtx) {
let _ = bootstrap_engine(world_reader, db.clone(), Arc::clone(&provider)).await.unwrap();

assert_eq!(count_table("ns-PlayerConfig", &pool).await, 0);
assert_eq!(count_table("ns-Position", &pool).await, 0);
assert_eq!(count_table("ns-Moves", &pool).await, 0);

// our entity model relation should be deleted
assert_eq!(count_table("entity_model", &pool).await, 0);
// our entity should be deleted. since we dont have any more models
Expand Down

0 comments on commit 3ac6108

Please sign in to comment.