Update crates/index-scheduler/src/scheduler/test.rs

Co-authored-by: Tamo <irevoire@protonmail.ch>
This commit is contained in:
Timon Jurschitsch 2025-01-16 16:13:14 +01:00 committed by GitHub
parent 79d192fb3f
commit 3f501c9b85
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -899,7 +899,7 @@ fn create_and_list_index() {
index_scheduler.index("kefir").unwrap(); index_scheduler.index("kefir").unwrap();
let list = index_scheduler.get_paginated_indexes_stats(&AuthFilter::default(), 0, 20).unwrap(); let list = index_scheduler.get_paginated_indexes_stats(&AuthFilter::default(), 0, 20).unwrap();
snapshot!(json_string!(list, { "[1][0][1].created_at" => "[date]", "[1][0][1].updated_at" => "[date]" }), @r###" snapshot!(json_string!(list, { "[1][0][1].created_at" => "[date]", "[1][0][1].updated_at" => "[date]", "[1][0][1].database_size" => "[bytes]", "[1][0][1].used_database_size" => "[bytes]" }), @r###"
[ [
1, 1,
[ [