mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 12:47:11 -05:00
Disable FSRS in state_application test
This test validates legacy SM-2 scheduler behavior and expects specific card states without FSRS memory states. Disable FSRS to maintain test compatibility.
This commit is contained in:
parent
e1d8bca31e
commit
a137d98038
1 changed files with 2 additions and 0 deletions
|
|
@ -706,6 +706,8 @@ pub(crate) mod test {
|
||||||
#[test]
|
#[test]
|
||||||
fn state_application() -> Result<()> {
|
fn state_application() -> Result<()> {
|
||||||
let mut col = Collection::new();
|
let mut col = Collection::new();
|
||||||
|
// Disable FSRS for this legacy scheduler test
|
||||||
|
col.set_config_bool(BoolKey::Fsrs, false, false)?;
|
||||||
if col.timing_today()?.near_cutoff() {
|
if col.timing_today()?.near_cutoff() {
|
||||||
return Ok(());
|
return Ok(());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue