Making the Sql Syntax Providers public and changing a few names and bits for consistency.
Adding resolver for the syntax providers and wiring it up in the boot manager.
This commit is contained in:
@@ -9,7 +9,7 @@ namespace Umbraco.Tests.TestHelpers
|
||||
[SetUp]
|
||||
public virtual void Initialize()
|
||||
{
|
||||
SyntaxConfig.SqlSyntaxProvider = SqlCeSyntaxProvider.Instance;
|
||||
SqlSyntaxContext.SqlSyntaxProvider = SqlCeSyntax.Provider;
|
||||
|
||||
SetUp();
|
||||
}
|
||||
@@ -20,7 +20,7 @@ namespace Umbraco.Tests.TestHelpers
|
||||
[TearDown]
|
||||
public virtual void TearDown()
|
||||
{
|
||||
SyntaxConfig.SqlSyntaxProvider = null;
|
||||
SqlSyntaxContext.SqlSyntaxProvider = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user