public function TestSubContext::getUIDs in Panopoly 7
Same name and namespace in other branches
- 8.2 modules/panopoly/panopoly_test/behat/steps/panopoly_test.behat.inc \TestSubContext::getUids()
Get a list of UIDs.
Return value
An array of numeric UIDs of users created by Given... steps during this scenario.
1 call to TestSubContext::getUIDs()
- TestSubContext::cleanFiles in modules/
panopoly/ panopoly_test/ behat/ steps/ panopoly_test.behat.inc - Cleans up files after every scenario.
File
- modules/
panopoly/ panopoly_test/ behat/ steps/ panopoly_test.behat.inc, line 513 - Provide Behat step-definitions for generic Panopoly tests.
Class
Code
public function getUIDs() {
$uids = array();
foreach ($this->external_users as $user) {
$uids[] = $user->uid;
}
return $uids;
}