aboutsummaryrefslogtreecommitdiff
path: root/Timeline.Tests/Controllers
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-11-18 19:29:37 +0800
committercrupest <crupest@outlook.com>2019-11-18 19:29:37 +0800
commit06a5d9aae4a348ff93aeaa40ac3d3ae2e7354f0f (patch)
tree047960f05911f7c841223f7b6528fe30b8e52088 /Timeline.Tests/Controllers
parent59c10650fc36e8c79c1def088240fd90a5151250 (diff)
downloadtimeline-06a5d9aae4a348ff93aeaa40ac3d3ae2e7354f0f.tar.gz
timeline-06a5d9aae4a348ff93aeaa40ac3d3ae2e7354f0f.tar.bz2
timeline-06a5d9aae4a348ff93aeaa40ac3d3ae2e7354f0f.zip
Write tests and fix bugs found via tests.
Diffstat (limited to 'Timeline.Tests/Controllers')
-rw-r--r--Timeline.Tests/Controllers/PersonalTimelineControllerTest.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Timeline.Tests/Controllers/PersonalTimelineControllerTest.cs b/Timeline.Tests/Controllers/PersonalTimelineControllerTest.cs
index a7cbb37e..819017c2 100644
--- a/Timeline.Tests/Controllers/PersonalTimelineControllerTest.cs
+++ b/Timeline.Tests/Controllers/PersonalTimelineControllerTest.cs
@@ -309,7 +309,7 @@ namespace Timeline.Tests.Controllers
var req = new TimelinePropertyChangeRequest
{
Description = "",
- Visibility = Entities.TimelineVisibility.Private
+ Visibility = TimelineVisibility.Private
};
_service.Setup(s => s.ChangeProperty(username, req)).Returns(Task.CompletedTask);
var result = await _controller.TimelineChangeProperty(username, req);