Move some tests
This commit is contained in:
@@ -5,11 +5,23 @@ using NUnit.Framework;
|
||||
using Umbraco.Core;
|
||||
using Umbraco.Core.Serialization;
|
||||
|
||||
namespace Umbraco.Tests
|
||||
namespace Umbraco.Tests.CoreThings
|
||||
{
|
||||
[TestFixture]
|
||||
public class UdiTests
|
||||
{
|
||||
void foo()
|
||||
{
|
||||
var frenchContent = contentCache.Get(1234, "fr-FR");
|
||||
var mobileFrenchContent = contentCache.Get(1234, "fr-FR", "mobile");
|
||||
|
||||
var group = frenchContent.GetVariantGroup();
|
||||
|
||||
var defaultCulture = group.DefaultCulture; // CultureInfo
|
||||
var cultures = group.GetCultures(); // CultureInfo[]
|
||||
var segments = group.GetSegments("fr-FR"); // string[]
|
||||
|
||||
}
|
||||
[Test]
|
||||
public void StringEntityCtorTest()
|
||||
{
|
||||
@@ -241,7 +241,7 @@
|
||||
<Compile Include="TestHelpers\TestObjects-Mocks.cs" />
|
||||
<Compile Include="TestHelpers\TestObjects.cs" />
|
||||
<Compile Include="TestHelpers\Stubs\TestUmbracoContextAccessor.cs" />
|
||||
<Compile Include="UdiTests.cs" />
|
||||
<Compile Include="CoreThings\UdiTests.cs" />
|
||||
<Compile Include="Web\AngularIntegration\AngularAntiForgeryTests.cs" />
|
||||
<Compile Include="Web\AngularIntegration\ContentModelSerializationTests.cs" />
|
||||
<Compile Include="Web\AngularIntegration\JsInitializationTests.cs" />
|
||||
|
||||
Reference in New Issue
Block a user