You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replaced outdated and commented-out code in the `Tests` class with direct calls to the `GetAllPagingAsync` method for retrieving paginated data. Simplified test methods by removing intermediate query variables and ensuring consistency in the approach to pagination.
Updated the following test methods:
- `GetPaginatedEntitiesWithoutWhereAsync`: Removed old code and used `GetAllPagingAsync` with `pageNumber`, `pageSize`, `includes`, and `orderBy`.
- `GetPaginatedEntitiesWithoutIncludeAsync`: Replaced old code with `GetAllPagingAsync` using `pageNumber`, `pageSize`, `includes`, and `filter`.
- `GetPagingEntitiesAsync`: Updated to use `GetAllPagingAsync` with `pageNumber`, `pageSize`, `includes`, `orderBy`, and `ascending` for descending order.
Assertions remain unchanged, ensuring correctness of results. These changes streamline the tests and align them with the updated repository method.
0 commit comments