Commit 97ec4c2f authored by Benedikt Heinrichs's avatar Benedikt Heinrichs

Change TestController back

parent c2ac00f2
......@@ -109,21 +109,6 @@ namespace Coscine.Api.Project.Tests
resourceModel.Insert(resource2);
projectModel.AddResource(project2, resource2);
Resources.Add(resource2);
project = new Coscine.Database.Model.Project()
{
Description = "Description",
Organization = "Organization",
DisplayName = "TestProject",
StartDate = DateTime.Now,
EndDate = DateTime.Now.AddYears(1),
Keywords = "Test1;Test2"
};
Guid.TryParse("3d058224-8bbc-45f1-8ad1-042b65d0e83b", out Guid newId);
project.Id = newId;
projectModel.Insert(project);
projectRole = projectModel.SetOwner(project, user);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment