Skip to content

Commit

Permalink
Fix(Tests): Fix on the tests after the change of the logic of total p…
Browse files Browse the repository at this point in the history
…ages
  • Loading branch information
Raphsodyz committed May 11, 2024
1 parent 6e51e36 commit 6e2be8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/Unit.Tests/Repository.Layer/LaunchRepositoryTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ public async Task GenericRepository_GetAllPaged_WithWhereClauseAndPageOverMaxRes
Assert.NotNull(result);
Assert.IsType<Pagination<Launch>>(result);
Assert.Equal(2, result.NumberOfEntities);
Assert.Equal(1, result.NumberOfPages);
Assert.Equal(0, result.NumberOfPages);
Assert.Equal(0, result.CurrentPage);
Assert.Equal(2, result.Entities.Count);
}
Expand All @@ -220,7 +220,7 @@ public async Task GenericRepository_GetAllPaged_WithIncludeClause()
Assert.NotNull(result);
Assert.IsType<Pagination<Launch>>(result);
Assert.Equal(3, result.NumberOfEntities);
Assert.Equal(1, result.NumberOfPages);
Assert.Equal(0, result.NumberOfPages);
Assert.Equal(0, result.CurrentPage);
Assert.IsType<List<Launch>>(result.Entities);
Assert.Equal(3, result.Entities.Count);
Expand Down

0 comments on commit 6e2be8f

Please sign in to comment.