Skip to content

Commit 13eba65

Browse files
committed
Fix missing imports for behat step definitions broken in 2.0.0
The commit in 70c5fbc switched them from annotations to attributes but didn't import the attribute classes meaning behat could not find them.
1 parent e2c07ce commit 13eba65

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
### Unreleased
22

3+
### v2.0.1 (2024-12-13)
4+
5+
* Fix missing imports for behat step definitions broken in 2.0.0
6+
37
### v2.0.0 (2024-12-13)
48

59
* [BREAKING] Use doctrine attributes instead of annotations for entity metadata

src/BehatContexts/ContentSnippetsContext.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
use Behat\Gherkin\Node\PyStringNode;
1111
use Behat\MinkExtension\Context\RawMinkContext;
1212
use Behat\Step\Given;
13+
use Behat\Step\Then;
14+
use Behat\Step\When;
1315
use Ingenerator\ContentSnippets\Repository\ContentSnippetRepository;
1416
use PHPUnit\Framework\Assert;
1517
use function trim;

0 commit comments

Comments
 (0)