File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ public function getStrategy()
3737 config ('database.connections.mysql.username ' ),
3838 config ('database.connections.mysql.password ' ),
3939 config ('database.connections.mysql.host ' ),
40- config ('database.connections.mysql.port ' )
40+ config ('database.connections.mysql.port ' , 3306 )
4141 );
4242
4343 case 'redis ' :
Original file line number Diff line number Diff line change @@ -57,7 +57,8 @@ public function it_supports_mysql_strategy()
5757 $ expectedStrategy = new MySqlLock (
5858 config ('database.connections.mysql.username ' ),
5959 config ('database.connections.mysql.password ' ),
60- config ('database.connections.mysql.host ' )
60+ config ('database.connections.mysql.host ' ),
61+ config ('database.connections.mysql.port ' , 3306 )
6162 );
6263 $ this ->assertEquals ($ expectedStrategy , $ mutex ->getStrategy ());
6364 }
You can’t perform that action at this time.
0 commit comments