Problem/Motivation

Fatal error: Cannot use Drupal\entity_test\Entity\EntityTest as EntityTest because the name is already in use in /Users/dawehner/www/d8
/core/modules/hal/src/Tests/NormalizeTest.php on line 12

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

dawehner created an issue. See original summary.

alexpott’s picture

Issue summary: View changes
alexpott’s picture

Status: Active » Needs review
FileSize
780 bytes

Here's a fix.

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

WFM +1

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 3: 2680931-3.patch, failed testing.

alexpott’s picture

Version: 8.0.x-dev » 8.1.x-dev
alexpott’s picture

Status: Needs work » Needs review
Related issues: +#2686207: Convert simpletest kernel tests in modules A-I to phpunit

I think this is an 8.1.x issue as this class was introduced in #2686207: Convert simpletest kernel tests in modules A-I to phpunit

andrewbelcher’s picture

Status: Needs review » Reviewed & tested by the community

WFM also! Can now run all tests via phpunit!

alexpott’s picture

And the test is still running... https://dispatcher.drupalci.org/job/default/106385/consoleFull

16:06:04 Drupal\Tests\hal\Kernel\EntityNormalizeTest                    3 passes
catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed/pushed to 8.2.x and cherry-picked to 8.1.x. Thanks!

  • catch committed 0f76f79 on 8.2.x
    Issue #2680931 by alexpott: Test failures in NormalizeTest
    

  • catch committed 00d387a on 8.1.x
    Issue #2680931 by alexpott: Test failures in NormalizeTest
    
    (cherry...
drumm’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.