Skip to content

Commit

Permalink
Update SetupTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
dusta authored May 26, 2018
1 parent 226ebd3 commit 941d7f5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/SetupTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

// backward compatibility
if (!class_exists('\PHPUnit\Framework\TestCase') and class_exists('\PHPUnit_Framework_TestCase')) {
class_alias('\PHPUnit_Framework_TestCase', '\PHPUnit\Framework\TestCase');
class_alias('\PHPUnit_Framework_TestCase', '\PHPUnit\Framework\TestCase');
}

class SetupTest extends \PHPUnit\Framework\TestCase
Expand Down Expand Up @@ -52,9 +52,8 @@ public function testInvalidEmail()
try {
$this->mail()->send($addAddress, 'Title', 'Body');
} catch (\Exception $e) {
$this->assertEquals('Mailer Error: Invalid email format.', $e->getMessage())
$this->assertEquals('Mailer Error: Invalid email format.', $e->getMessage());
}


}
}

0 comments on commit 941d7f5

Please sign in to comment.