Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
c47673bb
Commit
c47673bb
authored
Sep 09, 2014
by
Will Daly
Committed by
Diana Huang
Sep 10, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a test for the course ID merchant defined field data
parent
4f67f0da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
lms/djangoapps/verify_student/tests/test_views.py
+3
-0
No files found.
lms/djangoapps/verify_student/tests/test_views.py
View file @
c47673bb
...
@@ -675,6 +675,9 @@ class TestCreateOrder(ModuleStoreTestCase):
...
@@ -675,6 +675,9 @@ class TestCreateOrder(ModuleStoreTestCase):
data
=
json
.
loads
(
response
.
content
)
data
=
json
.
loads
(
response
.
content
)
self
.
assertEqual
(
data
[
'override_custom_receipt_page'
],
"http://testserver/shoppingcart/postpay_callback/"
)
self
.
assertEqual
(
data
[
'override_custom_receipt_page'
],
"http://testserver/shoppingcart/postpay_callback/"
)
# Verify that the course ID is included in "merchant-defined data"
self
.
assertEqual
(
data
[
'merchant_defined_data1'
],
unicode
(
self
.
course
.
id
))
def
test_create_order_set_donation_amount
(
self
):
def
test_create_order_set_donation_amount
(
self
):
# Verify the student so we don't need to submit photos
# Verify the student so we don't need to submit photos
self
.
_verify_student
()
self
.
_verify_student
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment