From 041281bced2fa0d15dc3a2b8bb3c8481057999ab Mon Sep 17 00:00:00 2001 From: Alvaro Mariano Date: Thu, 22 Jun 2023 18:30:23 -0300 Subject: [PATCH] Small fix o test view --- notifications/tests/views.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/notifications/tests/views.py b/notifications/tests/views.py index 846d852..d719777 100644 --- a/notifications/tests/views.py +++ b/notifications/tests/views.py @@ -3,6 +3,7 @@ import random from django.contrib.auth.decorators import login_required +from django.http import HttpResponse from django.shortcuts import render from notifications.signals import notify @@ -29,3 +30,5 @@ def make_notification(request): notify.send(sender=request.user, recipient=request.user, verb='you asked for a notification - you are ' + the_notification) + + return HttpResponse()