Fix compilation issues due to misnamed fild

This commit is contained in:
Dean Herbert 2022-01-25 15:29:45 +09:00
parent 47a13c2eb0
commit ae0fea8e26
1 changed files with 3 additions and 3 deletions

View File

@ -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);