1 | <?php |
||
7 | class AuthContext extends RawMinkContext |
||
|
|||
8 | { |
||
9 | /** |
||
10 | * @var MinkContext |
||
11 | */ |
||
12 | private $minkContext; |
||
13 | |||
14 | /** |
||
15 | * @BeforeScenario |
||
16 | * @param BeforeScenarioScope $scope |
||
17 | */ |
||
18 | public function gatherContexts(BeforeScenarioScope $scope) |
||
24 | |||
25 | /** |
||
26 | * @Given /^I login as admin$/ |
||
27 | */ |
||
28 | public function iLoginAsAdmin() |
||
35 | } |
||
36 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.