Seperate test steps for positive and negative cases (#5773)

fix php style

use the correct step

fix other steps

fix other php style

remove unwanted param

Refactor test function for handeling errors

fix return types

clean up code

address reviews
This commit is contained in:
Swikriti Tripathi
2023-03-09 16:21:50 +05:45
committed by GitHub
parent d9092d7e17
commit 249adc7cd7
5 changed files with 65 additions and 48 deletions
@@ -265,9 +265,7 @@ trait Provisioning {
);
}
} else {
throw new Exception(
__METHOD__ . ": User '$user' does not exist in the created list."
);
return false;
}
}
@@ -296,9 +294,7 @@ trait Provisioning {
);
}
} else {
throw new Exception(
__METHOD__ . ": Group '$group' does not exist in the created list."
);
return false;
}
}