Browse Source

Tests fixed.

pull/590/head
Sebastian 5 years ago
parent
commit
a8a19d58bf
  1. 2
      backend/tools/TestSuite/TestSuite.ApiTests/AssetTests.cs
  2. 2
      backend/tools/TestSuite/TestSuite.Shared/TestSuite.Shared.csproj

2
backend/tools/TestSuite/TestSuite.ApiTests/AssetTests.cs

@ -119,7 +119,7 @@ namespace TestSuite.ApiTests
{ {
var downloaded = new MemoryStream(); var downloaded = new MemoryStream();
using (var assetStream = await _.Assets.GetAssetContentBySlugAsync(_.AppName, asset_2.Id)) using (var assetStream = await _.Assets.GetAssetContentBySlugAsync(_.AppName, asset_2.Id, string.Empty))
{ {
await assetStream.Stream.CopyToAsync(downloaded); await assetStream.Stream.CopyToAsync(downloaded);
} }

2
backend/tools/TestSuite/TestSuite.Shared/TestSuite.Shared.csproj

@ -9,7 +9,7 @@
</PackageReference> </PackageReference>
<PackageReference Include="Lazy.Fody" Version="1.8.0" PrivateAssets="all" /> <PackageReference Include="Lazy.Fody" Version="1.8.0" PrivateAssets="all" />
<PackageReference Include="RefactoringEssentials" Version="5.6.0" PrivateAssets="all" /> <PackageReference Include="RefactoringEssentials" Version="5.6.0" PrivateAssets="all" />
<PackageReference Include="Squidex.ClientLibrary" Version="5.5.0-beta2" /> <PackageReference Include="Squidex.ClientLibrary" Version="5.5.0-beta3" />
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="all" /> <PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="all" />
<PackageReference Include="xunit" Version="2.4.1" /> <PackageReference Include="xunit" Version="2.4.1" />
</ItemGroup> </ItemGroup>

Loading…
Cancel
Save