diff options
author | crupest <crupest@outlook.com> | 2019-11-18 19:29:37 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2019-11-18 19:29:37 +0800 |
commit | 468d7f4c416d4469375b7170beb5e388737c0970 (patch) | |
tree | 047960f05911f7c841223f7b6528fe30b8e52088 /Timeline.Tests/Controllers/PersonalTimelineControllerTest.cs | |
parent | 5b5bb69c3ba2150816f120860be46d49c5bc37aa (diff) | |
download | timeline-468d7f4c416d4469375b7170beb5e388737c0970.tar.gz timeline-468d7f4c416d4469375b7170beb5e388737c0970.tar.bz2 timeline-468d7f4c416d4469375b7170beb5e388737c0970.zip |
Write tests and fix bugs found via tests.
Diffstat (limited to 'Timeline.Tests/Controllers/PersonalTimelineControllerTest.cs')
-rw-r--r-- | Timeline.Tests/Controllers/PersonalTimelineControllerTest.cs | 2 |
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);
|