Skip to content
This repository was archived by the owner on Apr 8, 2024. It is now read-only.

Commit b3940c0

Browse files
committed
Change test case imports
1 parent bb21fc3 commit b3940c0

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

tests/MailRecorderTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
use Mockery;
66
use PHPUnit_Framework_Error;
7-
use PHPUnit_Framework_TestCase;
87
use StdClass;
98
use Swift_Events_SendEvent;
109
use 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()

tests/Stubs/MailTrackingStub.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
namespace Spinen\MailAssertions\Stubs;
44

5-
use PHPUnit_Framework_TestCase;
5+
use PHPUnit\Framework\TestCase;
66
use 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

0 commit comments

Comments
 (0)