Oefenweb/cakephp-vat-number-check

View on GitHub

Showing 1 of 1 total issue

Method testCheck has 46 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function testCheck() {
        // Post request, correct vat

        $VatNumberChecks = $this->generate('VatNumberCheck.VatNumberChecks');
        $VatNumberChecks->VatNumberCheck = ClassRegistry::init('VatNumberCheck.VatNumberCheck');
Severity: Minor
Found in Test/Case/Controller/VatNumberChecksControllerTest.php - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language