EaDesgin/magento2-pdf-generator2

View on GitHub
Test/Unit/Helper/DataTest.php

Summary

Maintainability
A
2 hrs
Test Coverage

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

    public function testGetTemplateStatus()
    {

        $invoiceMock = $this->getMockBuilder(Invoice::class)
            ->disableOriginalConstructor()
Severity: Minor
Found in Test/Unit/Helper/DataTest.php - About 1 hr to fix

    Method setUp has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function setUp()
        {
            $this->context = $this->getMockBuilder(Context::class)
                ->setMethods(['getScopeConfig'])
                ->disableOriginalConstructor()
    Severity: Minor
    Found in Test/Unit/Helper/DataTest.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status