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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user