Closed
Description
Q | A |
---|---|
Bug report? | yes |
Feature request? | no |
BC Break report? | no |
RFC? | no |
Symfony version | 4.0.7 |
We have an issue on doctrine dbal with an assertion as annotation not being detected and the test being marked as risky on Windows:
This test did not perform any assertions
OK, but incomplete, skipped, or risky tests!
Here is a PR where I tried to isolate the issue as much as possible: doctrine/dbal#3087, leaving only a class and its test.
<?php
namespace Doctrine\Tests\DBAL\Schema;
use Doctrine\DBAL\Foo;
class ColumnTest extends \PHPUnit\Framework\TestCase
{
/**
* @group legacy
* @expectedDeprecation Hi
*/
public function testThatIsGoingToBeRisky() : void
{
new Foo();
}
}
The subsequent appveyor build: https://ci.appveyor.com/project/doctrine/dbal/build/1.0.114/job/3nke06rul3e04598
Metadata
Metadata
Assignees
Labels
No labels