SemanticTasksMailer should be turned into a normal "class" without statics and split the class into something more testable (e.g. \SemanticTasks\UserMailer injecting the UserMailer, \SemanticTasks\Assignees etc.)
I'm not sure if I setup the travis part correctly.
When trying to test SemanticTasksMailer::generateDiffBodyTxt I get an Wikimedia\Rdbms\DBConnectionError: Cannot access the database: Unknown error (127.0.0.1) error in my MediaWiki-Vagrant setup.
This PR is made in reference to: #5 and #7
This PR addresses:
I'm not sure if I setup the travis part correctly.
When trying to test
SemanticTasksMailer::generateDiffBodyTxt
I get anWikimedia\Rdbms\DBConnectionError: Cannot access the database: Unknown error (127.0.0.1)
error in my MediaWiki-Vagrant setup.