- Removing some long ignored test cases.

--HG--
branch : dev
This commit is contained in:
Suha Can
2010-04-22 15:49:56 -07:00
parent 3e46d5f0b0
commit 28cc29c0ed
5 changed files with 0 additions and 148 deletions

View File

@@ -72,20 +72,6 @@ namespace Orchard.Core.Tests.Common.Providers {
Assert.That(item.Record.OwnerId, Is.EqualTo(0));
}
[Test,Ignore("This testing is still being worked out")]
public void OwnerShouldBeAuthenticatedUserIfAvailable() {
var contentManager = _container.Resolve<IContentManager>();
var user = contentManager.New<IUser>("user");
_authn.Setup(x => x.GetAuthenticatedUser()).Returns(user);
var item = contentManager.Create<CommonAspect>("test-item", init => { });
ClearSession();
Assert.That(item.Record.OwnerId, Is.EqualTo(6655321));
}
[Test]
public void PublishingShouldSetPublishUtc() {
var contentManager = _container.Resolve<IContentManager>();