1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00

Refactor code, update namespaces

This commit is contained in:
Maksym Pavlenko
2017-01-09 15:44:14 -08:00
parent 395b50b6fb
commit 8fcdb6ec00
24 changed files with 57 additions and 60 deletions

View File

@@ -23,7 +23,7 @@ namespace Podsync.Tests.Controllers
[InlineData("http://youtube.com", null, 0)]
[InlineData("http://youtube.com", null, 25)]
[InlineData("http://youtube.com", null, 151)]
public async Task ValidateCreateTest(string url, ResolveType? quality, int? pageSize)
public async Task ValidateCreateTest(string url, ResolveFormat? quality, int? pageSize)
{
var feed = new CreateFeedRequest
{
@@ -42,7 +42,7 @@ namespace Podsync.Tests.Controllers
var feed = new CreateFeedRequest
{
Url = "https://www.youtube.com/channel/UCKy1dAqELo0zrOtPkf0eTMw",
Quality = ResolveType.AudioLow,
Quality = ResolveFormat.AudioLow,
};
var response = await Client.PostAsync("/feed/create", MakeHttpContent(feed));