Skip to content

Commit

Permalink
Updates from feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
ray-codeinstitute committed Sep 25, 2020
1 parent 723026f commit c9a52a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 3 additions & 1 deletion docker-compose-unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@ services:
mongodb:
image: docker.io/mongo:3.2.16
command: mongod --smallfiles --nojournal --storageEngine wiredTiger

mysql:
image: docker.io/mysql:5.6.36
command: mysqld --character-set-server=utf8 --collation-server=utf8_general_ci
restart: unless-stopped
environment:
# This is not a valid authentication approach for production - this file is used only when running
# unit tests locally. Hence the bad password.
MYSQL_ROOT_PASSWORD: "arglebargle"
healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
Expand Down
3 changes: 1 addition & 2 deletions lms/djangoapps/ci_program/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,4 @@ def test_send_email(self):
self.assertEqual(1, len(mail.outbox))

email = mail.outbox[0]
self.assertTrue('Username: [email protected]' in email.body)
program.save()
self.assertIn('Username: [email protected]', email.body)

0 comments on commit c9a52a4

Please sign in to comment.