Skip to content

Commit 90b4365

Browse files
author
Montana Low
committed
fix test
1 parent b07cd60 commit 90b4365

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

pgml-extension/src/api.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,12 @@ mod tests {
567567
#[pg_test]
568568
fn test_snapshot_lifecycle() {
569569
load_diabetes(Some(25));
570-
let snapshot = Snapshot::create("pgml.diabetes", "target", 0.5, Sampling::last);
570+
let snapshot = Snapshot::create(
571+
"pgml.diabetes",
572+
vec!["target".to_string()],
573+
0.5,
574+
Sampling::last,
575+
);
571576
assert!(snapshot.id > 0);
572577
}
573578

0 commit comments

Comments
 (0)