Tests: set the testUserExists() method to be launched before the suite is executed

1.10.x
Yannick Warnier 11 years ago
parent 23e19f1547
commit ec52788c2a
  1. 7
      tests/features/bootstrap/FeatureContext.php

@ -47,9 +47,12 @@ class FeatureContext extends MinkContext
); );
} }
/** /**
* @Given /^Test users exist$/ * This action, launched before the suite is run, connects as an admin
* and moves to the users filler page to create about 30 new users with
* all the possible roles
* @BeforeSuite
*/ */
public function testUsersExist() public function testUsersExist(SuiteEvent $event)
{ {
return array( return array(
new Given('I am a platform administrator'), new Given('I am a platform administrator'),

Loading…
Cancel
Save