UITestsFramework/Database/Accounts.cs
Method UpgradeUserToAdmin
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static void UpgradeUserToAdmin(string user)
{
using (var con = new SqlConnection(ConfigurationManager.ConnectionStrings["DefaultConnection"].ConnectionString))
{
int userId;