AuthorizeNet/sdk-dotnet

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

Summary

Maintainability
A
3 hrs
Test Coverage

Method CreateTransactionFromProfile has 52 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        [Test]
        public void CreateTransactionFromProfile()
        {
            //Creates a customer profile and customer payment profile
            //Then uses those profiles to create a transaction request

    Method GetTransactionId has 28 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            private long GetTransactionId()
            {
                //Creates a credit card transaction and returns the transactions ID.
    
                //Common code to set for all requests

      There are no issues that match your filters.

      Category
      Status