File tree Expand file tree Collapse file tree 3 files changed +2
-2
lines changed
Dotnet.Samples.AspNetCore.WebApi.Tests
Dotnet.Samples.AspNetCore.WebApi/Data Expand file tree Collapse file tree 3 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,4 +13,5 @@ exclude_paths:
1313 - " **/Data/**"
1414 - " **/Migrations/**"
1515 - " **/Models/**"
16+ - " **/Utilities/**"
1617 - " **.Tests/**"
Original file line number Diff line number Diff line change @@ -147,7 +147,6 @@ public async Task GivenGetByIdAsync_WhenServiceRetrieveByIdAsyncReturnsNull_Then
147147
148148 // Act
149149 var response = await controller . GetByIdAsync ( It . IsAny < long > ( ) ) as NotFound ;
150- ;
151150
152151 // Assert
153152 service . Verify ( service => service . RetrieveByIdAsync ( It . IsAny < long > ( ) ) , Times . Exactly ( 1 ) ) ;
Original file line number Diff line number Diff line change @@ -343,7 +343,7 @@ public static List<Player> CreateFromDeserializedJson()
343343 var options = new JsonSerializerOptions { PropertyNameCaseInsensitive = true } ;
344344 var starting11 = JsonSerializer . Deserialize < List < Player > > ( json , options ) ;
345345
346- if ( starting11 != null && starting11 . Any ( ) )
346+ if ( starting11 != null && starting11 . Count > 0 )
347347 {
348348 players . AddRange ( starting11 ) ;
349349 }
You can’t perform that action at this time.
0 commit comments