You are here

public function TestSubContext::getUIDs in Drupal Commons 7.3

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 tests/steps/commons_test.behat.inc
Cleans up files after every scenario.

File

tests/steps/commons_test.behat.inc, line 234
Provide Behat step-definitions for generic Commons tests.

Class

TestSubContext

Code

public function getUIDs() {
  $uids = array();
  foreach ($this->external_users as $user) {
    $uids[] = $user->uid;
  }
  return $uids;
}