Code Duplication    Length = 5-5 lines in 2 locations

build/integration/features/bootstrap/Provisioning.php 2 locations

@@ 78-82 (lines=5) @@
75
							];
76
77
		$this->response = $client->send($client->createRequest("POST", $fullUrl, $options));
78
		if ($this->currentServer === 'LOCAL'){
79
			$this->createdUsers[$user] = $user;
80
		} elseif ($this->currentServer === 'REMOTE') {
81
			$this->createdRemoteUsers[$user] = $user;
82
		}
83
84
		//Quick hack to login once with the current user
85
		$options2 = [
@@ 225-229 (lines=5) @@
222
							];
223
224
		$this->response = $client->send($client->createRequest("POST", $fullUrl, $options));
225
		if ($this->currentServer === 'LOCAL'){
226
			$this->createdGroups[$group] = $group;
227
		} elseif ($this->currentServer === 'REMOTE') {
228
			$this->createdRemoteGroups[$group] = $group;
229
		}
230
	}
231
232
	/**