This repository was archived by the owner on Apr 8, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 44
55use Mockery ;
66use PHPUnit_Framework_Error ;
7- use PHPUnit_Framework_TestCase ;
87use StdClass ;
98use Swift_Events_SendEvent ;
109use TypeError ;
@@ -49,7 +48,6 @@ public function it_cannot_be_constructed_without_a_PHPUnit_Framework_TestCase()
4948 /**
5049 * @test
5150 * @group unit
52- * @expectedException PHPUnit_Framework_Error
5351 */
5452 public function it_cannot_be_constructed_with_class_other_than_a_PHPUnit_Framework_TestCase ()
5553 {
@@ -74,7 +72,7 @@ public function it_cannot_be_constructed_with_class_other_than_a_PHPUnit_Framewo
7472 */
7573 public function it_records_the_message_on_the_test_by_calling_recordMail ()
7674 {
77- $ test_mock = Mockery::mock (PHPUnit_Framework_TestCase ::class);
75+ $ test_mock = Mockery::mock (TestCase ::class);
7876
7977 $ test_mock ->shouldReceive ('recordMail ' )
8078 ->once ()
Original file line number Diff line number Diff line change 22
33namespace Spinen \MailAssertions \Stubs ;
44
5- use PHPUnit_Framework_TestCase ;
5+ use PHPUnit \ Framework \ TestCase ;
66use Spinen \MailAssertions \MailTracking ;
77
88/**
99 * Class MailTrackingStub
1010 *
1111 * @package Spinen\MailAssertions\Stubs
1212 */
13- class MailTrackingStub extends PHPUnit_Framework_TestCase
13+ class MailTrackingStub extends TestCase
1414{
1515 use MailTracking;
1616
You can’t perform that action at this time.
0 commit comments