#591 - fix tests

This commit is contained in:
Saeed Vaziry
2025-06-04 21:40:26 +02:00
parent 56baba74d7
commit 8e8859b305
2 changed files with 4 additions and 4 deletions

View File

@ -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,

View File

@ -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,