Skip to content

Commit

Permalink
Fixes #6665. Add AllowDynamicProperties attribute to Unit (#6666)
Browse files Browse the repository at this point in the history
  • Loading branch information
erickskrauch committed Jun 6, 2023
1 parent 88fcb51 commit f1a95e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Codeception/Test/Unit.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

namespace Codeception\Test;

use AllowDynamicProperties;
use Codeception\Configuration;
use Codeception\Exception\ModuleException;
use Codeception\Lib\Di;
Expand All @@ -23,6 +24,7 @@
/**
* Represents tests from PHPUnit compatible format.
*/
#[AllowDynamicProperties]
class Unit extends TestCase implements
Interfaces\Reported,
Interfaces\Dependent,
Expand Down

0 comments on commit f1a95e4

Please sign in to comment.