mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-01 05:56:16 +00:00
#591 - fix tests
This commit is contained in:
@ -162,13 +162,13 @@ public function test_update_load_balancer(): void
|
||||
'method' => LoadBalancerMethod::ROUND_ROBIN,
|
||||
'servers' => [
|
||||
[
|
||||
'server' => $servers[0]->local_ip,
|
||||
'ip' => $servers[0]->local_ip,
|
||||
'port' => 80,
|
||||
'weight' => 1,
|
||||
'backup' => false,
|
||||
],
|
||||
[
|
||||
'server' => $servers[1]->local_ip,
|
||||
'ip' => $servers[1]->local_ip,
|
||||
'port' => 80,
|
||||
'weight' => 1,
|
||||
'backup' => false,
|
||||
|
@ -37,13 +37,13 @@ public function test_update_load_balancer_servers(): void
|
||||
'method' => LoadBalancerMethod::ROUND_ROBIN,
|
||||
'servers' => [
|
||||
[
|
||||
'server' => $servers[0]->local_ip,
|
||||
'ip' => $servers[0]->local_ip,
|
||||
'port' => 80,
|
||||
'weight' => 1,
|
||||
'backup' => false,
|
||||
],
|
||||
[
|
||||
'server' => $servers[1]->local_ip,
|
||||
'ip' => $servers[1]->local_ip,
|
||||
'port' => 80,
|
||||
'weight' => 1,
|
||||
'backup' => false,
|
||||
|
Reference in New Issue
Block a user