Skip to content

Commit

Permalink
fix: 更新nuget包
Browse files Browse the repository at this point in the history
  • Loading branch information
withsalt committed Oct 10, 2022
1 parent 330723b commit 2a0f0a9
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 22 deletions.
4 changes: 2 additions & 2 deletions src/BilibiliLiveCommon/BilibiliLiveCommon.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNet.WebApi.Client" Version="5.2.7" />
<PackageReference Include="Microsoft.AspNet.WebApi.Client" Version="5.2.9" />
<PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.1" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.2" />
</ItemGroup>

</Project>
10 changes: 5 additions & 5 deletions src/BilibiliLiveMonitor/BilibiliLiveMonitor.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Quartz" Version="3.4.0" />
<PackageReference Include="Quartz.Extensions.Hosting" Version="3.4.0" />
<PackageReference Include="Quartz.Plugins" Version="3.4.0" />
<PackageReference Include="Quartz.Plugins.TimeZoneConverter" Version="3.4.0" />
<PackageReference Include="NLog.Web.AspNetCore" Version="4.14.0" />
<PackageReference Include="Quartz" Version="3.5.0" />
<PackageReference Include="Quartz.Extensions.Hosting" Version="3.5.0" />
<PackageReference Include="Quartz.Plugins" Version="3.5.0" />
<PackageReference Include="Quartz.Plugins.TimeZoneConverter" Version="3.5.0" />
<PackageReference Include="NLog.Web.AspNetCore" Version="5.1.4" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/BilibiliLiver/BilibiliLiver.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<PackageReference Include="Microsoft.Extensions.Hosting" Version="6.0.1" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="6.0.0" />
<PackageReference Include="NLog.Web.AspNetCore" Version="4.14.0" />
<PackageReference Include="NLog.Web.AspNetCore" Version="5.1.4" />
</ItemGroup>

<ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions src/BilibiliLiverTests/BilibiliLiverTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.1.0" />
<PackageReference Include="MSTest.TestAdapter" Version="2.2.9" />
<PackageReference Include="MSTest.TestFramework" Version="2.2.9" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.2" />
<PackageReference Include="MSTest.TestAdapter" Version="2.2.10" />
<PackageReference Include="MSTest.TestFramework" Version="2.2.10" />
<PackageReference Include="coverlet.collector" Version="3.1.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
15 changes: 4 additions & 11 deletions src/BilibiliLiverTests/Services/BilibiliLiveApiServiceTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,17 +88,10 @@ public async Task GetRoomPlayInfoTest()
[TestMethod()]
public async Task Test1()
{
try
{
var info = await _apiService.GetLiveRoomInfo();
var r1 = await _apiService.UpdateLiveRoomArea(info.room_id, 33);
await Task.Delay(5000);
var r2 = await _apiService.UpdateLiveRoomName(info.room_id, "白噪音");
}
catch (Exception ex)
{

}
var info = await _apiService.GetLiveRoomInfo();
var r1 = await _apiService.UpdateLiveRoomArea(info.room_id, 33);
await Task.Delay(5000);
var r2 = await _apiService.UpdateLiveRoomName(info.room_id, "白噪音");
}
}
}

0 comments on commit 2a0f0a9

Please sign in to comment.