File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 11<?php
22
3- use Mockery as m ;
4-
53class DbMysqlVariableTest extends TestCase
64{
75 /** @test */
86 public function it_returns_false_for_unexisting_mysql_variable ()
97 {
10- $ mock = m ::mock ('alias:Illuminate\Support\Facades\DB ' );
8+ $ mock = Mockery ::mock ('alias:Illuminate\Support\Facades\DB ' );
119 $ mock ->shouldReceive ('selectOne ' )
1210 ->withArgs (['show variables where variable_name = ? ' , ['fake ' ]])
1311 ->once ()
@@ -19,7 +17,7 @@ public function it_returns_false_for_unexisting_mysql_variable()
1917 /** @test */
2018 public function it_returns_value_for_existing_mysql_variable ()
2119 {
22- $ mock = m ::mock ('alias:Illuminate\Support\Facades\DB ' );
20+ $ mock = Mockery ::mock ('alias:Illuminate\Support\Facades\DB ' );
2321 $ mock ->shouldReceive ('selectOne ' )
2422 ->withArgs (['show variables where variable_name = ? ' , ['hostname ' ]])
2523 ->once ()
You can’t perform that action at this time.
0 commit comments