Commit cbe99e6a authored by plach's avatar plach
Browse files

Issue #3088518 by alexpott, Berdir: Can not run tests using phpunit with the --group option

(cherry picked from commit 31174683)
parent 2b4033bb
...@@ -8,9 +8,6 @@ ...@@ -8,9 +8,6 @@
use Doctrine\Common\Annotations\SimpleAnnotationReader; use Doctrine\Common\Annotations\SimpleAnnotationReader;
use PHPUnit\Framework\TestCase; use PHPUnit\Framework\TestCase;
//Some class named Entity in the global namespace
include __DIR__ .'/DCOM58Entity.php';
/** /**
* This class is a near-copy of * This class is a near-copy of
* \Doctrine\Tests\Common\Annotations\Ticket\DCOM58Test, which is part of the * \Doctrine\Tests\Common\Annotations\Ticket\DCOM58Test, which is part of the
...@@ -18,9 +15,19 @@ ...@@ -18,9 +15,19 @@
* version 1.2.7. * version 1.2.7.
* *
* @group DCOM58 * @group DCOM58
*
* Run this test in a separate process as it includes code that might have side
* effects.
* @runTestsInSeparateProcesses
*/ */
class DCOM58Test extends TestCase class DCOM58Test extends TestCase
{ {
public function setUp()
{
// Some class named Entity in the global namespace.
include __DIR__ .'/DCOM58Entity.php';
}
public function testIssue() public function testIssue()
{ {
$reader = new AnnotationReader(); $reader = new AnnotationReader();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment