CaffGeek/MBACNationals

View on GitHub
UITestsFramework/Database/Accounts.cs

Summary

Maintainability
A
1 hr
Test Coverage

Method UpgradeUserToAdmin has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        public static void UpgradeUserToAdmin(string user)
        {
            using (var con = new SqlConnection(ConfigurationManager.ConnectionStrings["DefaultConnection"].ConnectionString))
            {
                int userId;
Severity: Minor
Found in UITestsFramework/Database/Accounts.cs - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status