Convert batchImport parameter to parameters class to allow further import configuration

This commit is contained in:
Dean Herbert
2022-12-12 23:56:11 +09:00
parent e2d8909e73
commit cf2719d4c0
9 changed files with 57 additions and 31 deletions

View File

@ -1052,7 +1052,7 @@ namespace osu.Game.Tests.Database
{
string? temp = path ?? TestResources.GetTestBeatmapForImport(virtualTrack);
var importedSet = await importer.Import(new ImportTask(temp), batchImport);
var importedSet = await importer.Import(new ImportTask(temp), new ImportParameters { Batch = batchImport });
Assert.NotNull(importedSet);
Debug.Assert(importedSet != null);