From f2a19e34509649037a4ab3d2d96e3588fac3546c Mon Sep 17 00:00:00 2001 From: WarriorsSami Date: Fri, 21 Jun 2024 00:19:01 +0300 Subject: [PATCH] test(quetzalcoatl): remove seed data for get all users test --- .../Api/Features/Users/GetAllEndpointTests.cs | 3 --- 1 file changed, 3 deletions(-) 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" );