Skip to content
This repository was archived by the owner on Jun 30, 2024. It is now read-only.

Commit 352f685

Browse files
committed
Fix: After registering, free courses always redirect to the donate page.
1 parent 131b35e commit 352f685

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

tests/conftest.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ def __init__(
634634
# Now, post the registration.
635635
self.test_client.validate(
636636
"default/user/register",
637-
"Runestone Registration" if self.is_free else "Payment Amount",
637+
"Support Runestone Academy" if self.is_free else "Payment Amount",
638638
data=dict(
639639
username=self.username,
640640
first_name=self.first_name,
@@ -646,8 +646,6 @@ def __init__(
646646
# Note that ``course_id`` is (on the form) actually a course name.
647647
course_id=self.course.course_name,
648648
accept_tcp="on",
649-
donate="0",
650-
_next="/runestone/default/index",
651649
_formname="register",
652650
),
653651
)

0 commit comments

Comments
 (0)