Skip to content

Commit fc6f671

Browse files
committed
Updated .gitignore and fixed compile errors
1 parent c65015a commit fc6f671

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ bld/
2222
[Bb]in/
2323
[Oo]bj/
2424

25+
# IntelliJ IDEA cache/options directory
26+
.idea/
27+
2528
# Visual Studo 2015 cache/options directory
2629
.vs/
2730

src/MyTested.AspNetCore.Mvc.Http/Builders/Http/HttpResponseTestBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ private CookieOptions GetCookieOptions(SetCookieHeaderValue cookie)
430430

431431
private void ValidateHeaderValues(string name, string expectedValue, StringValues headerValues)
432432
{
433-
if (!headerValues.Contains(expectedValue) && string.Join(",", headerValues) != expectedValue)
433+
if (!headerValues.Contains(expectedValue) && string.Join(",", headerValues.ToArray()) != expectedValue)
434434
{
435435
this.ThrowNewHttpResponseAssertionException(
436436
"headers",

test/MyTested.AspNetCore.Mvc.Test.Setups/MyTested.AspNetCore.Mvc.Test.Setups.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
<PropertyGroup>
44
<TargetFramework>net9.0</TargetFramework>
5+
<NoWarn>$(NoWarn);ASP0026</NoWarn>
56
<AssemblyName>MyTested.AspNetCore.Mvc.Test.Setups</AssemblyName>
67
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
78
<AssemblyOriginatorKeyFile>../../tools/Key.snk</AssemblyOriginatorKeyFile>

0 commit comments

Comments
 (0)