bpaulin/SetupEzContentTypeBundle

View on GitHub
src/Tests/Service/ImportTest.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method testForceGetNewGroup has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function testForceGetNewGroup()
    {
        $this->contentTypeService->expects( $this->once() )
            ->method( 'loadContentTypeGroupByIdentifier' )
            ->will(
Severity: Minor
Found in src/Tests/Service/ImportTest.php - About 1 hr to fix

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

        public function setUp()
        {
            $this->contentTypeService = $this->getMockBuilder( 'eZ\Publish\API\Repository\ContentTypeService' )
                ->getMock();
    
    
    Severity: Minor
    Found in src/Tests/Service/ImportTest.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status