Skip to content

Commit

Permalink
Fix testEmailLink for PHP 5.5
Browse files Browse the repository at this point in the history
For an unknown reason, PHP 5.5 test fails when we don't specifically
login. The problem does not occur with later versions.
  • Loading branch information
dregad committed Jun 14, 2019
1 parent 99c8a04 commit 0448ce6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Mantis/PrepareTest.php
Expand Up @@ -69,8 +69,9 @@ public function providerMailTo() {
* @return void
*/
public function testEmailLink( $p_param, $p_access_level, $p_out ) {
# Make sure we have a DB connection
# Make sure we have a DB connection and a logged-in user
$this->dbConnect();
$this->login();

# Set threshold
$t_config = 'show_user_email_threshold';
Expand Down

0 comments on commit 0448ce6

Please sign in to comment.