Skip to content

Commit 6188933

Browse files
authored
Fixup warnings in test (#22665)
1 parent ee80cd5 commit 6188933

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Http/Authentication.Core/test/AuthenticationPropertiesTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ public class AuthenticationPropertiesTests
1111
[Fact]
1212
public void Clone_Copies()
1313
{
14-
var items = new Dictionary<string, string>
14+
var items = new Dictionary<string, string?>
1515
{
1616
["foo"] = "bar",
1717
};
1818
var value = "value";
19-
var parameters = new Dictionary<string, object>
19+
var parameters = new Dictionary<string, object?>
2020
{
2121
["foo2"] = value,
2222
};

src/Http/Authentication.Core/test/AuthenticationTicketTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ public class AuthenticationTicketTests
99
[Fact]
1010
public void Clone_Copies()
1111
{
12-
var items = new Dictionary<string, string>
12+
var items = new Dictionary<string, string?>
1313
{
1414
["foo"] = "bar",
1515
};
1616
var value = "value";
17-
var parameters = new Dictionary<string, object>
17+
var parameters = new Dictionary<string, object?>
1818
{
1919
["foo2"] = value,
2020
};

0 commit comments

Comments
 (0)