Skip to content

Commit

Permalink
Update the example of how to use the Annotations trait
Browse files Browse the repository at this point in the history
  • Loading branch information
rybakit committed May 9, 2020
1 parent af4f54e commit 6edd12c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@ final class MyTest extends TestCase
{
use Annotations;

protected function setUp() : void
{
$this->processAnnotations(static::class, $this->getName(false) ?? '');
}

// ...
}
```
Expand Down

0 comments on commit 6edd12c

Please sign in to comment.