Skip to content

Commit

Permalink
more lines into if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
jasson99 committed Jun 10, 2020
1 parent 60f368e commit 08ad5eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/acceptance/features/bootstrap/Provisioning.php
Original file line number Diff line number Diff line change
Expand Up @@ -3239,9 +3239,9 @@ public function userTriesToDeleteGroupUsingTheProvisioningApi($user, $group) {
* @throws Exception
*/
public function groupExists($group) {
$baseDN = $this->getLdapBaseDN();
$newDN = 'cn=' . $group . ',ou=' . $this->ou . ',' . $baseDN;
if ($this->isTestingWithLdap() && OcisHelper::isTestingOnOcis()) {
$baseDN = $this->getLdapBaseDN();
$newDN = 'cn=' . $group . ',ou=' . $this->ou . ',' . $baseDN;
if ($this->ldap->getEntry($newDN) !== null) {
return true;
}
Expand Down

0 comments on commit 08ad5eb

Please sign in to comment.