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()
37
37
config ('database.connections.mysql.username ' ),
38
38
config ('database.connections.mysql.password ' ),
39
39
config ('database.connections.mysql.host ' ),
40
- config ('database.connections.mysql.port ' )
40
+ config ('database.connections.mysql.port ' , 3306 )
41
41
);
42
42
43
43
case 'redis ' :
Original file line number Diff line number Diff line change @@ -57,7 +57,8 @@ public function it_supports_mysql_strategy()
57
57
$ expectedStrategy = new MySqlLock (
58
58
config ('database.connections.mysql.username ' ),
59
59
config ('database.connections.mysql.password ' ),
60
- config ('database.connections.mysql.host ' )
60
+ config ('database.connections.mysql.host ' ),
61
+ config ('database.connections.mysql.port ' , 3306 )
61
62
);
62
63
$ this ->assertEquals ($ expectedStrategy , $ mutex ->getStrategy ());
63
64
}
You can’t perform that action at this time.
0 commit comments