diff --git a/src/Umbraco.Tests.Integration/TestServerTest/Controllers/UsersControllerTests.cs b/src/Umbraco.Tests.Integration/TestServerTest/Controllers/UsersControllerTests.cs index 4c492ed4f2..e2d66373ec 100644 --- a/src/Umbraco.Tests.Integration/TestServerTest/Controllers/UsersControllerTests.cs +++ b/src/Umbraco.Tests.Integration/TestServerTest/Controllers/UsersControllerTests.cs @@ -208,14 +208,6 @@ namespace Umbraco.Tests.Integration.TestServerTest.Controllers [Test] public async Task PostUnlockUsers_When_Multiple_UserIds_Supplied_Expect_User_Locked_Out_With_Correct_Response_Message() { - - var xxx = new UserBuilder() - .WithUsername("Admin") - .AddUserGroup() - .WithAlias("writer") - .Done() - .Build(); - var numberOfUsers = 3; var userService = GetRequiredService(); diff --git a/src/Umbraco.Tests.Integration/Testing/LocalDbTestDatabase.cs b/src/Umbraco.Tests.Integration/Testing/LocalDbTestDatabase.cs index 62d6db0a8b..9988362d3b 100644 --- a/src/Umbraco.Tests.Integration/Testing/LocalDbTestDatabase.cs +++ b/src/Umbraco.Tests.Integration/Testing/LocalDbTestDatabase.cs @@ -237,7 +237,7 @@ namespace Umbraco.Tests.Integration.Testing action(); return; } - catch (Exception e) + catch (SqlException e) { Console.Error.WriteLine($"SqlException occured, but we try again {i+1}/{maxIterations}.\n{e}"); @@ -249,7 +249,6 @@ namespace Umbraco.Tests.Integration.Testing Debugger.Launch(); throw; } - } } }