File tree Expand file tree Collapse file tree 5 files changed +1
-26
lines changed Expand file tree Collapse file tree 5 files changed +1
-26
lines changed Original file line number Diff line number Diff line change 5
5
use DateInterval ;
6
6
use DateTime ;
7
7
use Illuminate \Cache \ArrayStore ;
8
- use Mockery as m ;
9
8
use PHPUnit \Framework \TestCase ;
10
9
11
10
class CacheTaggedCacheTest extends TestCase
12
11
{
13
- protected function tearDown (): void
14
- {
15
- m::close ();
16
- }
17
-
18
12
public function testCacheCanBeSavedWithMultipleTags ()
19
13
{
20
14
$ store = new ArrayStore ;
Original file line number Diff line number Diff line change 5
5
use Illuminate \Console \Command ;
6
6
use Illuminate \Console \Signals ;
7
7
use Illuminate \Tests \Console \Fixtures \FakeSignalsRegistry ;
8
- use Mockery as m ;
9
8
use PHPUnit \Framework \TestCase ;
10
9
11
10
class CommandTrapTest extends TestCase
@@ -24,11 +23,6 @@ protected function setUp(): void
24
23
$ this ->state = null ;
25
24
}
26
25
27
- protected function tearDown (): void
28
- {
29
- m::close ();
30
- }
31
-
32
26
public function testTrapWhenAvailable ()
33
27
{
34
28
$ command = $ this ->createCommand ();
Original file line number Diff line number Diff line change 3
3
namespace Illuminate \Tests \Console ;
4
4
5
5
use Illuminate \Console \OutputStyle ;
6
- use Mockery as m ;
7
6
use PHPUnit \Framework \TestCase ;
8
7
use Symfony \Component \Console \Input \ArrayInput ;
9
8
use Symfony \Component \Console \Output \BufferedOutput ;
10
9
11
10
class OutputStyleTest extends TestCase
12
11
{
13
- protected function tearDown (): void
14
- {
15
- m::close ();
16
- }
17
-
18
12
public function testDetectsNewLine ()
19
13
{
20
14
$ bufferedOutput = new BufferedOutput ();
Original file line number Diff line number Diff line change 4
4
5
5
use Illuminate \Console \Signals ;
6
6
use Illuminate \Tests \Console \Fixtures \FakeSignalsRegistry ;
7
- use Mockery as m ;
8
7
use PHPUnit \Framework \TestCase ;
9
8
10
9
class SignalsTest extends TestCase
@@ -25,7 +24,7 @@ protected function tearDown(): void
25
24
{
26
25
$ this ->state = null ;
27
26
28
- m:: close ();
27
+ parent :: tearDown ();
29
28
}
30
29
31
30
public function testRegister ()
Original file line number Diff line number Diff line change 6
6
use Illuminate \Process \Exceptions \ProcessFailedException ;
7
7
use Illuminate \Process \Exceptions \ProcessTimedOutException ;
8
8
use Illuminate \Process \Factory ;
9
- use Mockery as m ;
10
9
use OutOfBoundsException ;
11
10
use PHPUnit \Framework \TestCase ;
12
11
use RuntimeException ;
13
12
14
13
class ProcessTest extends TestCase
15
14
{
16
- protected function tearDown (): void
17
- {
18
- m::close ();
19
- }
20
-
21
15
public function testSuccessfulProcess ()
22
16
{
23
17
$ factory = new Factory ;
You can’t perform that action at this time.
0 commit comments