mirror of
https://github.com/osukey/osukey.git
synced 2025-05-03 20:57:28 +09:00
Don't directly reset the database when running tests
The containing storage is destroyed anyway, so this is redundant.
This commit is contained in:
parent
8c24d6eb76
commit
49e2a8afa3
@ -90,11 +90,6 @@ namespace osu.Game.Tests.Visual
|
|||||||
{
|
{
|
||||||
var factory = new DatabaseContextFactory(LocalStorage);
|
var factory = new DatabaseContextFactory(LocalStorage);
|
||||||
|
|
||||||
// only reset the database if not using the host storage.
|
|
||||||
// if we reset the host storage, it will delete global key bindings.
|
|
||||||
if (isolatedHostStorage == null)
|
|
||||||
factory.ResetDatabase();
|
|
||||||
|
|
||||||
using (var usage = factory.Get())
|
using (var usage = factory.Get())
|
||||||
usage.Migrate();
|
usage.Migrate();
|
||||||
return factory;
|
return factory;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user