File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
namespace Illuminated \Helpers \Artisan ;
4
4
5
- use Mockery as m ;
5
+ use Mockery ;
6
6
use PHPUnit_Framework_Error ;
7
7
use TestCase ;
8
8
@@ -12,12 +12,12 @@ class CommandTest extends TestCase
12
12
13
13
protected function setUp ()
14
14
{
15
- self ::$ functions = m ::mock ();
15
+ self ::$ functions = Mockery ::mock ();
16
16
17
- $ phpBinaryMock = m ::mock ('overload:Symfony\Component\Process\PhpExecutableFinder ' );
17
+ $ phpBinaryMock = Mockery ::mock ('overload:Symfony\Component\Process\PhpExecutableFinder ' );
18
18
$ phpBinaryMock ->shouldReceive ('find ' )->with (false )->zeroOrMoreTimes ()->andReturn ('php ' );
19
19
20
- $ utilsMock = m ::mock ('alias:Symfony\Component\Process\ProcessUtils ' );
20
+ $ utilsMock = Mockery ::mock ('alias:Symfony\Component\Process\ProcessUtils ' );
21
21
$ utilsMock ->shouldReceive ('escapeArgument ' )->withAnyArgs ()->zeroOrMoreTimes ()->andReturnUsing (function ($ value ) {
22
22
return $ value ;
23
23
});
You can’t perform that action at this time.
0 commit comments