mirror of https://github.com/ppy/osu
Fix compilation issues due to misnamed fild
This commit is contained in:
parent
47a13c2eb0
commit
ae0fea8e26
|
@ -608,9 +608,9 @@ public void TestImportThenReimportAfterMissingFiles()
|
||||||
using var importer = new BeatmapModelManager(realmFactory, storage);
|
using var importer = new BeatmapModelManager(realmFactory, storage);
|
||||||
using var store = new RulesetStore(realmFactory, storage);
|
using var store = new RulesetStore(realmFactory, storage);
|
||||||
|
|
||||||
var imported = await LoadOszIntoStore(importer, realmFactory.Context);
|
var imported = await LoadOszIntoStore(importer, realmFactory.Realm);
|
||||||
|
|
||||||
deleteBeatmapSet(imported, realmFactory.Context);
|
deleteBeatmapSet(imported, realmFactory.Realm);
|
||||||
|
|
||||||
Assert.IsTrue(imported.DeletePending);
|
Assert.IsTrue(imported.DeletePending);
|
||||||
|
|
||||||
|
@ -619,7 +619,7 @@ public void TestImportThenReimportAfterMissingFiles()
|
||||||
|
|
||||||
Assert.That(imported.Files.All(f => !storage.GetStorageForDirectory("files").Exists(f.File.GetStoragePath())));
|
Assert.That(imported.Files.All(f => !storage.GetStorageForDirectory("files").Exists(f.File.GetStoragePath())));
|
||||||
|
|
||||||
var importedSecondTime = await LoadOszIntoStore(importer, realmFactory.Context);
|
var importedSecondTime = await LoadOszIntoStore(importer, realmFactory.Realm);
|
||||||
|
|
||||||
// check the newly "imported" beatmap is actually just the restored previous import. since it matches hash.
|
// check the newly "imported" beatmap is actually just the restored previous import. since it matches hash.
|
||||||
Assert.IsTrue(imported.ID == importedSecondTime.ID);
|
Assert.IsTrue(imported.ID == importedSecondTime.ID);
|
||||||
|
|
Loading…
Reference in New Issue