Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mmmavis committed May 1, 2024
1 parent 75ff164 commit 7fb144e
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from django.test import TestCase
from wagtail.admin.panels import get_edit_handler
from wagtail import rich_text

from networkapi.wagtailpages.donation_modal import DonationModal

Expand Down Expand Up @@ -39,7 +40,7 @@ def test_link_target_url_valid_formats(self):
data = {
"name": "Test Name",
"header": "Test Header",
"body": "Test Body",
"body": rich_text.RichText("Test Body"),
"donate_text": "Test Donate Button Text",
"donate_url": url,
"dismiss_text": "Test Dismiss Text",
Expand All @@ -64,7 +65,7 @@ def test_link_target_url_invalid_formats(self):
data = {
"name": "Test Name",
"header": "Test Header",
"body": "Test Body",
"body": rich_text.RichText("Test Body"),
"donate_text": "Test Donate Button Text",
"donate_url": url,
"dismiss_text": "Test Dismiss Text",
Expand Down

0 comments on commit 7fb144e

Please sign in to comment.