Correcting two failing unit tests
This commit is contained in:
@@ -108,7 +108,7 @@ namespace Umbraco.Tests.IO
|
||||
[Test]
|
||||
public void Can_Get_File_Dates()
|
||||
{
|
||||
_fileSystem.AddFile("test.txt", CreateStream());
|
||||
_fileSystem.AddFile("test.txt", CreateStream(), true);
|
||||
|
||||
var created = _fileSystem.GetCreated("test.txt");
|
||||
var modified = _fileSystem.GetLastModified("test.txt");
|
||||
|
||||
@@ -66,7 +66,7 @@ namespace Umbraco.Tests.Persistence.Mappers
|
||||
SyntaxConfig.SqlSyntaxProvider = SqlCeSyntax.Provider;
|
||||
|
||||
// Act
|
||||
string column = RelationMapper.Instance.Map("RelationType");
|
||||
string column = RelationMapper.Instance.Map("RelationTypeId");
|
||||
|
||||
// Assert
|
||||
Assert.That(column, Is.EqualTo("[umbracoRelation].[relType]"));
|
||||
|
||||
Reference in New Issue
Block a user