1
0
mirror of synced 2025-03-14 00:26:08 +03:00

Add missing group to DDC2660Test.php

With the current PHPUnit version and PHP 7.2/master, the test fails with:

1) Doctrine\Tests\ORM\Functional\Ticket\DDC2660Test::testIssueWithExtraColumn
array_flip(): Can only flip STRING and INTEGER values!

2) Doctrine\Tests\ORM\Functional\Ticket\DDC2660Test::testIssueWithoutExtraColumn
array_flip(): Can only flip STRING and INTEGER values!

Due to the group being NULL vs "" on older PHP versions.

I will also file a bug report or fix to PHPUnit and/or PHP itself, but it sounds
like the missing group was just a typo.
This commit is contained in:
Matteo Beccati 2017-01-24 12:46:19 +01:00
parent b181228d69
commit c816d375e8

View File

@ -5,7 +5,7 @@ namespace Doctrine\Tests\ORM\Functional\Ticket;
use Doctrine\ORM\Query\ResultSetMappingBuilder;
/**
* @group
* @group DDC-2660
*/
class DDC2660Test extends \Doctrine\Tests\OrmFunctionalTestCase
{