Skip to content

Commit 0927c80

Browse files
Copilotrenemadsen
andcommitted
Fix CS0411 type inference errors: add explicit type parameters to AssertUpdate calls
Co-authored-by: renemadsen <[email protected]>
1 parent 768a8b5 commit 0927c80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1103,7 +1103,7 @@ public virtual async Task Update_with_invalid_lambda_throws(bool async)
11031103
{
11041104
await AssertTranslationFailed(
11051105
"ss => ss.Set<Customer>().Where(c => c.CustomerID.StartsWith(\"F\"))",
1106-
() => AssertUpdate(
1106+
() => AssertUpdate<Customer>(
11071107
async,
11081108
ss => ss.Set<Customer>().Where(c => c.CustomerID.StartsWith("F")),
11091109
e => e.City = "invalidValue",
@@ -1242,7 +1242,7 @@ INNER JOIN (
12421242
[MemberData(nameof(IsAsyncData))]
12431243
public virtual async Task Update_with_left_join_set_constant(bool async)
12441244
{
1245-
await AssertUpdate(
1245+
await AssertUpdate<Customer>(
12461246
async,
12471247
ss => ss.Set<Customer>().Where(c => c.CustomerID.StartsWith("F")),
12481248
e => e.ContactName = "Updated",

0 commit comments

Comments
 (0)