mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-01 14:06:15 +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,
|
'method' => LoadBalancerMethod::ROUND_ROBIN,
|
||||||
'servers' => [
|
'servers' => [
|
||||||
[
|
[
|
||||||
'server' => $servers[0]->local_ip,
|
'ip' => $servers[0]->local_ip,
|
||||||
'port' => 80,
|
'port' => 80,
|
||||||
'weight' => 1,
|
'weight' => 1,
|
||||||
'backup' => false,
|
'backup' => false,
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'server' => $servers[1]->local_ip,
|
'ip' => $servers[1]->local_ip,
|
||||||
'port' => 80,
|
'port' => 80,
|
||||||
'weight' => 1,
|
'weight' => 1,
|
||||||
'backup' => false,
|
'backup' => false,
|
||||||
|
@ -37,13 +37,13 @@ public function test_update_load_balancer_servers(): void
|
|||||||
'method' => LoadBalancerMethod::ROUND_ROBIN,
|
'method' => LoadBalancerMethod::ROUND_ROBIN,
|
||||||
'servers' => [
|
'servers' => [
|
||||||
[
|
[
|
||||||
'server' => $servers[0]->local_ip,
|
'ip' => $servers[0]->local_ip,
|
||||||
'port' => 80,
|
'port' => 80,
|
||||||
'weight' => 1,
|
'weight' => 1,
|
||||||
'backup' => false,
|
'backup' => false,
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'server' => $servers[1]->local_ip,
|
'ip' => $servers[1]->local_ip,
|
||||||
'port' => 80,
|
'port' => 80,
|
||||||
'weight' => 1,
|
'weight' => 1,
|
||||||
'backup' => false,
|
'backup' => false,
|
||||||
|
Reference in New Issue
Block a user