Skip to content

Commit 93c6682

Browse files
committed
Fix styling
1 parent 0a0ff0c commit 93c6682

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

tests/unit/Ec2DetectorTest.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function TestValidEc2()
5151
// Fetch hostName response
5252
new Response(200, ['Foo' => 'Bar'], self::MOCK_HOSTNAME),
5353
// Fetch identities reponse
54-
new Response(200, ['Foo' => 'Bar'], self::MOCK_IDENTITY)
54+
new Response(200, ['Foo' => 'Bar'], self::MOCK_IDENTITY),
5555
]);
5656

5757
$handlerStack = HandlerStack::create($mockGuzzle);
@@ -69,7 +69,7 @@ public function TestValidEc2()
6969
ResourceConstants::CLOUD_ACCOUNT_ID => self::CLOUD_ACCOUNT_ID,
7070
ResourceConstants::CLOUD_REGION => self::CLOUD_REGION,
7171
ResourceConstants::HOST_HOSTNAME => self::MOCK_HOSTNAME,
72-
ResourceConstants::CLOUD_PROVIDER => self::CLOUD_PROVIDER
72+
ResourceConstants::CLOUD_PROVIDER => self::CLOUD_PROVIDER,
7373
]
7474
)
7575
), $detector->detect());
@@ -86,7 +86,7 @@ public function TestInvalidTokenBody()
8686
// Fetch hostName response
8787
new Response(200, ['Foo' => 'Bar'], self::MOCK_HOSTNAME),
8888
// Fetch identities reponse
89-
new Response(200, ['Foo' => 'Bar'], self::MOCK_IDENTITY)
89+
new Response(200, ['Foo' => 'Bar'], self::MOCK_IDENTITY),
9090
]);
9191

9292
$handlerStack = HandlerStack::create($mockGuzzle);
@@ -108,7 +108,7 @@ public function TestInvalidTokenResponseCode()
108108
// Fetch hostName response
109109
new Response(200, ['Foo' => 'Bar'], self::MOCK_HOSTNAME),
110110
// Fetch identities reponse
111-
new Response(200, ['Foo' => 'Bar'], self::MOCK_IDENTITY)
111+
new Response(200, ['Foo' => 'Bar'], self::MOCK_IDENTITY),
112112
]);
113113

114114
$handlerStack = HandlerStack::create($mockGuzzle);
@@ -130,7 +130,7 @@ public function TestInvalidHostName()
130130
// Fetch hostName response
131131
new Response(200, ['Foo' => 'Bar']),
132132
// Fetch identities reponse
133-
new Response(200, ['Foo' => 'Bar'], self::MOCK_IDENTITY)
133+
new Response(200, ['Foo' => 'Bar'], self::MOCK_IDENTITY),
134134
]);
135135

136136
$handlerStack = HandlerStack::create($mockGuzzle);
@@ -147,7 +147,7 @@ public function TestInvalidHostName()
147147
ResourceConstants::HOST_IMAGE_ID => self::HOST_IMAGE_ID,
148148
ResourceConstants::CLOUD_ACCOUNT_ID => self::CLOUD_ACCOUNT_ID,
149149
ResourceConstants::CLOUD_REGION => self::CLOUD_REGION,
150-
ResourceConstants::CLOUD_PROVIDER => self::CLOUD_PROVIDER
150+
ResourceConstants::CLOUD_PROVIDER => self::CLOUD_PROVIDER,
151151
]
152152
)
153153
), $detector->detect());
@@ -164,7 +164,7 @@ public function TestInvalidIdentities()
164164
// Fetch hostName response
165165
new Response(200, ['Foo' => 'Bar'], self::MOCK_HOSTNAME),
166166
// Fetch identities reponse
167-
new Response(200, ['Foo' => 'Bar'])
167+
new Response(200, ['Foo' => 'Bar']),
168168
]);
169169

170170
$handlerStack = HandlerStack::create($mockGuzzle);
@@ -186,7 +186,7 @@ public function TestInvalidIncompleteIdentities()
186186
// Fetch hostName response
187187
new Response(200, ['Foo' => 'Bar'], self::MOCK_HOSTNAME),
188188
// Fetch identities reponse
189-
new Response(200, ['Foo' => 'Bar'], self::MOCK_IDENTITY_INCOMPLETE)
189+
new Response(200, ['Foo' => 'Bar'], self::MOCK_IDENTITY_INCOMPLETE),
190190
]);
191191

192192
$handlerStack = HandlerStack::create($mockGuzzle);
@@ -202,7 +202,7 @@ public function TestInvalidIncompleteIdentities()
202202
ResourceConstants::HOST_TYPE => self::HOST_TYPE,
203203
ResourceConstants::HOST_IMAGE_ID => self::HOST_IMAGE_ID,
204204
ResourceConstants::HOST_HOSTNAME => self::MOCK_HOSTNAME,
205-
ResourceConstants::CLOUD_PROVIDER => self::CLOUD_PROVIDER
205+
ResourceConstants::CLOUD_PROVIDER => self::CLOUD_PROVIDER,
206206
]
207207
)
208208
), $detector->detect());

0 commit comments

Comments
 (0)