On course about page, display course end date if no about page HTML blog (end_date.html) exists.
#224
This commit is contained in:
5
common/test/data/test_end/README.md
Normal file
5
common/test/data/test_end/README.md
Normal file
@@ -0,0 +1,5 @@
|
||||
Test course for checking the end date displayed on the course about page.
|
||||
This course does not have an end_date HTML "blob", but it does have a course end date set.
|
||||
Therefore the course end date should show on the course about page.
|
||||
|
||||
See also test_about_blob_end_date course.
|
||||
1
common/test/data/test_end/course.xml
Normal file
1
common/test/data/test_end/course.xml
Normal file
@@ -0,0 +1 @@
|
||||
<course org="edX" course="test_end" url_name="2012_Fall"/>
|
||||
2
common/test/data/test_end/course/2012_Fall.xml
Normal file
2
common/test/data/test_end/course/2012_Fall.xml
Normal file
@@ -0,0 +1,2 @@
|
||||
<course>
|
||||
</course>
|
||||
9
common/test/data/test_end/policies/2012_Fall.json
Normal file
9
common/test/data/test_end/policies/2012_Fall.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"course/2012_Fall": {
|
||||
"graceperiod": "2 days 5 hours 59 minutes 59 seconds",
|
||||
"start": "2015-07-17T12:00",
|
||||
"end": "2015-09-17T12:00",
|
||||
"display_name": "Test End",
|
||||
"graded": "true"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user