Skip to content

Commit fbddef5

Browse files
committed
Fixed code to PSR2 compatibility
1 parent d21c534 commit fbddef5

File tree

1 file changed

+28
-14
lines changed

1 file changed

+28
-14
lines changed

tests/unit/Networking/v2/Extensions/Layer3/Models/FloatingIpTest.php

Lines changed: 28 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -49,20 +49,34 @@ public function test_it_retrieves()
4949

5050
$this->floatingIp->retrieve();
5151

52-
$this->assertEquals('376da547-b977-4cfe-9cba-275c80debf57',
53-
$this->floatingIp->floatingNetworkId);
54-
$this->assertEquals('d23abc8d-2991-4a55-ba98-2aaea84cc72f',
55-
$this->floatingIp->routerId);
56-
$this->assertEquals('10.0.0.3',
57-
$this->floatingIp->fixedIpAddress);
58-
$this->assertEquals('172.24.4.228',
59-
$this->floatingIp->floatingIpAddress);
60-
$this->assertEquals('4969c491a3c74ee4af974e6d800c62de',
61-
$this->floatingIp->tenantId);
52+
$this->assertEquals(
53+
'376da547-b977-4cfe-9cba-275c80debf57',
54+
$this->floatingIp->floatingNetworkId
55+
);
56+
$this->assertEquals(
57+
'd23abc8d-2991-4a55-ba98-2aaea84cc72f',
58+
$this->floatingIp->routerId
59+
);
60+
$this->assertEquals(
61+
'10.0.0.3',
62+
$this->floatingIp->fixedIpAddress
63+
);
64+
$this->assertEquals(
65+
'172.24.4.228',
66+
$this->floatingIp->floatingIpAddress
67+
);
68+
$this->assertEquals(
69+
'4969c491a3c74ee4af974e6d800c62de',
70+
$this->floatingIp->tenantId
71+
);
6272
$this->assertEquals('ACTIVE', $this->floatingIp->status);
63-
$this->assertEquals('ce705c24-c1ef-408a-bda3-7bbd946164ab',
64-
$this->floatingIp->portId);
65-
$this->assertEquals('2f245a7b-796b-4f26-9cf9-9e82d248fda7',
66-
$this->floatingIp->id);
73+
$this->assertEquals(
74+
'ce705c24-c1ef-408a-bda3-7bbd946164ab',
75+
$this->floatingIp->portId
76+
);
77+
$this->assertEquals(
78+
'2f245a7b-796b-4f26-9cf9-9e82d248fda7',
79+
$this->floatingIp->id
80+
);
6781
}
6882
}

0 commit comments

Comments
 (0)