diff --git a/quetzalcoatl-auth/Tests.Integration/Api/Features/Users/GetAllEndpointTests.cs b/quetzalcoatl-auth/Tests.Integration/Api/Features/Users/GetAllEndpointTests.cs index fd8ad46..f066d74 100644 --- a/quetzalcoatl-auth/Tests.Integration/Api/Features/Users/GetAllEndpointTests.cs +++ b/quetzalcoatl-auth/Tests.Integration/Api/Features/Users/GetAllEndpointTests.cs @@ -29,9 +29,6 @@ public async Task GivenAuthorizedUser_WhenGettingAllUsers_ThenReturnsOk() using var scope = _apiWebFactory.Services.CreateScope(); var userManager = scope.ServiceProvider.GetRequiredService>(); - var existingUsers = await userManager.Users.ToListAsync(); - await userManager.DeleteAsync(existingUsers.ElementAt(0)); - var profilePictureData = await ImageHelpers.GetImageAsByteArrayAsync( "https://picsum.photos/200" );