Restored Umbraco.Tests (further)
This commit is contained in:
@@ -13,6 +13,7 @@ using Umbraco.Core.Models;
|
||||
using Umbraco.Core.Persistence.Repositories;
|
||||
using Umbraco.Core.Persistence.Repositories.Implement;
|
||||
using Umbraco.Core.PropertyEditors;
|
||||
using Umbraco.Tests.Common.Builders;
|
||||
using Umbraco.Tests.TestHelpers;
|
||||
using Umbraco.Tests.Testing;
|
||||
|
||||
@@ -40,7 +41,8 @@ namespace Umbraco.Tests.Persistence.Repositories
|
||||
|
||||
private IScriptRepository CreateRepository()
|
||||
{
|
||||
return new ScriptRepository(_fileSystems, IOHelper, TestObjects.GetGlobalSettings());
|
||||
var globalSettings = new GlobalSettingsBuilder().Build();
|
||||
return new ScriptRepository(_fileSystems, IOHelper, Microsoft.Extensions.Options.Options.Create(globalSettings));
|
||||
}
|
||||
|
||||
protected override void Compose()
|
||||
|
||||
Reference in New Issue
Block a user