Fetching and then instantly reloading library loses data #256
@ -141,10 +141,13 @@ impl<Database: IDatabase, Library: ILibrary> MusicHoard<Database, Library> {
|
|||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use crate::{core::{
|
use crate::{
|
||||||
interface::{database::NullDatabase, library::NullLibrary},
|
core::{
|
||||||
musichoard::library::IMusicHoardLibrary,
|
interface::{database::NullDatabase, library::NullLibrary},
|
||||||
}, IMusicHoardDatabase};
|
musichoard::library::IMusicHoardLibrary,
|
||||||
|
},
|
||||||
|
IMusicHoardDatabase,
|
||||||
|
};
|
||||||
|
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user