Fixed test

This commit is contained in:
Eldad Fux
2020-06-10 21:55:22 +03:00
parent 98846adfc9
commit 50e7fc43c9
+1 -1
View File
@@ -341,7 +341,7 @@ $utopia->post('/v1/teams/:teamId/memberships')
$mail->AltBody = strip_tags($body->render());
try {
if(!APP_MODE_ADMIN === $mode) { // No need in comfirmation when in admin mode
if(APP_MODE_ADMIN !== $mode) { // No need in comfirmation when in admin mode
$mail->send();
}
} catch (\Exception $error) {