Make sure to login at least once for the intergration tests

Else we run into race conditions with the skeleton code
This commit is contained in:
Roeland Jago Douma 2015-12-15 09:55:25 +01:00
parent 38d3a638ed
commit 0f6d55063d
1 changed files with 7 additions and 1 deletions

View File

@ -90,7 +90,13 @@ trait Provisioning {
} elseif ($this->currentServer === 'REMOTE') {
$this->createdRemoteUsers[$user] = $user;
}
//Quick hack to login once with the current user
$options2 = [
'auth' => [$user, '123456'],
];
$url = $fullUrl.'/'.$user;
$client->send($client->createRequest('GET', $url, $options2));
}
public function createUser($user) {