Skip to content

Commit 40df15e

Browse files
committed
IHF: Simplified.
1 parent 03ad4eb commit 40df15e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/classes/Artisan/CommandTest.php

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

33
namespace Illuminated\Helpers\Artisan;
44

5-
use Mockery as m;
5+
use Mockery;
66
use PHPUnit_Framework_Error;
77
use TestCase;
88

@@ -12,12 +12,12 @@ class CommandTest extends TestCase
1212

1313
protected function setUp()
1414
{
15-
self::$functions = m::mock();
15+
self::$functions = Mockery::mock();
1616

17-
$phpBinaryMock = m::mock('overload:Symfony\Component\Process\PhpExecutableFinder');
17+
$phpBinaryMock = Mockery::mock('overload:Symfony\Component\Process\PhpExecutableFinder');
1818
$phpBinaryMock->shouldReceive('find')->with(false)->zeroOrMoreTimes()->andReturn('php');
1919

20-
$utilsMock = m::mock('alias:Symfony\Component\Process\ProcessUtils');
20+
$utilsMock = Mockery::mock('alias:Symfony\Component\Process\ProcessUtils');
2121
$utilsMock->shouldReceive('escapeArgument')->withAnyArgs()->zeroOrMoreTimes()->andReturnUsing(function ($value) {
2222
return $value;
2323
});

0 commit comments

Comments
 (0)