AuthorizeNet/sdk-dotnet

View on GitHub
AuthorizeNETtest/Api/Controllers/SampleTest/eCheckTransactionSampleTest.cs

Summary

Maintainability
B
5 hrs
Test Coverage

Method CreateCustomerProfileFromECheckTransaction has 60 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        [Test]
        public void CreateCustomerProfileFromECheckTransaction()
        {
            var rnd = new AnetRandom(DateTime.Now.Millisecond);
            string customerIndx = rnd.Next(99999).ToString();

    Method CreateTransactionWithECheckCapturePriorAuth has 44 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            [Test]
            public void CreateTransactionWithECheckCapturePriorAuth()
            {
                //Common code to set for all requests
                ApiOperationBase<ANetApiRequest, ANetApiResponse>.MerchantAuthentication = CustomMerchantAuthenticationType;

      Method CreateCreditRequestForSettledECheckTransaction has 32 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

              [Test]
              [Ignore("Requires user to specify settled transaction")]
              public void CreateCreditRequestForSettledECheckTransaction()
              {
                  var rnd = new AnetRandom(DateTime.Now.Millisecond);

        There are no issues that match your filters.

        Category
        Status