mirror of
https://github.com/ansible/awx.git
synced 2026-02-15 18:20:00 -03:30
add test coverage for api notification mixin
This commit is contained in:
@@ -51,7 +51,7 @@ const NotificationsMixin = (parent) => class extends parent {
|
||||
}
|
||||
|
||||
if (notificationType === 'error' && associationState === false) {
|
||||
return this.disassociateNotificationTemplatesSuccess(resourceId, notificationId);
|
||||
return this.disassociateNotificationTemplatesError(resourceId, notificationId);
|
||||
}
|
||||
|
||||
throw new Error(`Unsupported notificationType, associationState combination: ${notificationType}, ${associationState}`);
|
||||
|
||||
Reference in New Issue
Block a user