'Ensure the notification is always sent if the automatic approval functionality is disabled.'

@mock.patch(u'commerce.signals.send_refund_notification')
def test_notification_if_automatic_approval_disabled(self, mock_send_notification):

    refund_id = 1
    self.config.enable_automatic_refund_approval = False
    self.config.save()
    with mock_create_refund(status=201, response=[refund_id]):
        self.send_signal()
        self.assertTrue(mock_send_notification.called)
        mock_send_notification.assert_called_with(self.course_enrollment, [refund_id])
