Commit 33f76113 by Chris Rossi Committed by Diana Huang

It looks like LinkedIn pfCertFuture as the date a certificate expires.

We were using to indicate the date a course ended.  Better to remove it,
since edX certificates don't really expire.
parent c2651497
...@@ -90,7 +90,6 @@ class Command(BaseCommand): ...@@ -90,7 +90,6 @@ class Command(BaseCommand):
('pfCertificationUrl', certificate.download_url), ('pfCertificationUrl', certificate.download_url),
('pfLicenseNo', certificate.course_id), ('pfLicenseNo', certificate.course_id),
('pfCertStartDate', course.start.strftime('%Y%mI')), ('pfCertStartDate', course.start.strftime('%Y%mI')),
('pfCertFuture', certificate.created_date.strftime('%Y%m')),
('_mSplash', '1'), ('_mSplash', '1'),
('trk', tracking_code), ('trk', tracking_code),
('startTask', 'CERTIFICATION_NAME'), ('startTask', 'CERTIFICATION_NAME'),
......
...@@ -166,5 +166,5 @@ class MailusersTests(TestCase): ...@@ -166,5 +166,5 @@ class MailusersTests(TestCase):
'pfCertificationName=TestX%2FIntro101&pfAuthorityName=edX&' 'pfCertificationName=TestX%2FIntro101&pfAuthorityName=edX&'
'pfAuthorityId=0000000&' 'pfAuthorityId=0000000&'
'pfCertificationUrl=http%3A%2F%2Ftest.foo%2Ftest&pfLicenseNo=TEST1&' 'pfCertificationUrl=http%3A%2F%2Ftest.foo%2Ftest&pfLicenseNo=TEST1&'
'pfCertStartDate=201005I&pfCertFuture=201008&_mSplash=1&' 'pfCertStartDate=201005I&_mSplash=1&'
'trk=eml-prof-TestX-1-T&startTask=CERTIFICATION_NAME&force=true') 'trk=eml-prof-TestX-1-T&startTask=CERTIFICATION_NAME&force=true')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment