From 328f6f166a68b3e44ada08e9a13dd12570238679 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Sun, 17 Apr 2022 17:59:15 +0100 Subject: [PATCH] deploy --- .build | 19 +++++++++++++------ src/isnd/Controllers/Packages/Search.cs | 4 +--- test/isn.tests/PushTest.cs | 4 ++-- 3 files changed, 16 insertions(+), 11 deletions(-) diff --git a/.build b/.build index 2934735..ca7ddf0 100644 --- a/.build +++ b/.build @@ -1,16 +1,23 @@ - + The Hello World of build files. + - - + + + + + + + + + + - + - - FreeSpeech FreeSpeech.Droid FreeSpeech.Gtk FreeSpeech.iOS FreeSpeech.UWP diff --git a/src/isnd/Controllers/Packages/Search.cs b/src/isnd/Controllers/Packages/Search.cs index 7e2118a..7ba9ee4 100644 --- a/src/isnd/Controllers/Packages/Search.cs +++ b/src/isnd/Controllers/Packages/Search.cs @@ -9,11 +9,9 @@ namespace isnd.Controllers public partial class PackagesController { - -// GET {@id}?q={QUERY}&skip={SKIP}&take={TAKE}&prerelease={PRERELEASE}&semVerLevel={SEMVERLEVEL}&packageType={PACKAGETYPE} + // GET {@id}?q={QUERY}&skip={SKIP}&take={TAKE}&prerelease={PRERELEASE}&semVerLevel={SEMVERLEVEL}&packageType={PACKAGETYPE} [HttpGet(_pkgRootPrefix + ApiConfig.Search)] public async Task Search( - string q, int skip = 0, int take = 25, diff --git a/test/isn.tests/PushTest.cs b/test/isn.tests/PushTest.cs index 8e039f6..5c092de 100644 --- a/test/isn.tests/PushTest.cs +++ b/test/isn.tests/PushTest.cs @@ -64,9 +64,9 @@ dataTable.Rows.Add(dataRow); } [Fact] - public async Task GetServerResourcesUsingWebRequestAsyncTest() + public async Task GetServerResourcesUsingHttpClientAsyncTest() { - var model = await SourceHelpers.GetServerResourcesUsingWebRequestAsync("Http://isn.pschneider.fr/index.json"); + var model = await SourceHelpers.GetServerResourcesAsync("Http://isn.pschneider.fr/index.json"); Console.WriteLine(JsonConvert.SerializeObject(model)); Assert.NotNull(model.Resources); var pub = model.Resources.FirstOrDefault((r) => r.Type == "PackagePublish/3.5.0");