@@ -209,6 +209,10 @@ class TestInstructorEnrollsStudent(ModuleStoreTestCase, LoginEnrollmentTestCase)
#Check the outbox
self.assertEqual(len(mail.outbox),3)
self.assertEqual(mail.outbox[0].subject,'You have been enrolled in MITx/999/Robot_Super_Course')
self.assertEqual(mail.outbox[0].body,"Dear Jim Tester\n\nYou have been enrolled in MITx/999/Robot_Super_Course at edx.org by a member of the course staff. "+
"The course should now appear on your edx.org dashboard.\n\n"+
"----\nThis email was automatically sent from edx.org to Jim Tester")
self.assertEqual(mail.outbox[1].subject,'You have been invited to register for MITx/999/Robot_Super_Course')
self.assertEqual(mail.outbox[1].body,"Dear student,\n\nYou have been invited to join MITx/999/Robot_Super_Course at edx.org by a member of the course staff.\n\n"+