Correcting two failing unit tests

This commit is contained in:
Morten Christensen
2012-11-09 09:51:53 -01:00
parent 9049b079c8
commit c93fcfd482
2 changed files with 2 additions and 2 deletions

View File

@@ -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");

View File

@@ -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]"));