From 1a5eb086c978d67977e2a49c1934a8ebfcdb51bf Mon Sep 17 00:00:00 2001 From: Chris Rossi Date: Mon, 30 Dec 2013 13:18:14 -0500 Subject: [PATCH] Remove stray 'I' from generated URL. --- .../linkedin/management/commands/linkedin_mailusers.py | 2 +- .../linkedin/management/commands/tests/test_mailusers.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lms/djangoapps/linkedin/management/commands/linkedin_mailusers.py b/lms/djangoapps/linkedin/management/commands/linkedin_mailusers.py index f73e687002..1304d71878 100644 --- a/lms/djangoapps/linkedin/management/commands/linkedin_mailusers.py +++ b/lms/djangoapps/linkedin/management/commands/linkedin_mailusers.py @@ -89,7 +89,7 @@ class Command(BaseCommand): ('pfAuthorityId', self.api.config['COMPANY_ID']), ('pfCertificationUrl', certificate.download_url), ('pfLicenseNo', certificate.course_id), - ('pfCertStartDate', course.start.strftime('%Y%mI')), + ('pfCertStartDate', course.start.strftime('%Y%m')), ('_mSplash', '1'), ('trk', tracking_code), ('startTask', 'CERTIFICATION_NAME'), diff --git a/lms/djangoapps/linkedin/management/commands/tests/test_mailusers.py b/lms/djangoapps/linkedin/management/commands/tests/test_mailusers.py index d09865f514..d806272757 100644 --- a/lms/djangoapps/linkedin/management/commands/tests/test_mailusers.py +++ b/lms/djangoapps/linkedin/management/commands/tests/test_mailusers.py @@ -166,5 +166,5 @@ class MailusersTests(TestCase): 'pfCertificationName=TestX%2FIntro101&pfAuthorityName=edX&' 'pfAuthorityId=0000000&' 'pfCertificationUrl=http%3A%2F%2Ftest.foo%2Ftest&pfLicenseNo=TEST1&' - 'pfCertStartDate=201005I&_mSplash=1&' + 'pfCertStartDate=201005&_mSplash=1&' 'trk=eml-prof-TestX-1-T&startTask=CERTIFICATION_NAME&force=true')