Skip to content

Commit e74951c

Browse files
authored
chore: Replace deprecated use of uuid property with uuid function call
1 parent 129399d commit e74951c

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

tests/Unit/ConnectorTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ function (FailResetMockServerException $exception) use ($guzzleException): void
142142
*/
143143
function (): void {
144144
$remoteExpectation = new RemoteExpectation(
145-
fake()->uuid,
145+
fake()->uuid(),
146146
new MockServerExpectation('METHOD', '/path')
147147
);
148148
$testConnector = new class($remoteExpectation->uuid) extends Connector {
@@ -197,7 +197,7 @@ function (): void {
197197
$atLeast = fake()->numberBetween(1, 50);
198198
$atMost = $atLeast + fake()->numberBetween(1, 50);
199199
$remoteExpectation = new RemoteExpectation(
200-
fake()->uuid,
200+
fake()->uuid(),
201201
new MockServerExpectation('METHOD', '/path', atLeast: $atLeast, atMost: $atMost)
202202
);
203203
$testConnector = new class($remoteExpectation->uuid, $atLeast, $atMost) extends Connector {
@@ -252,7 +252,7 @@ protected function buildClient(string $mockServerUrl): Client
252252
*/
253253
function (): void {
254254
$remoteExpectation = new RemoteExpectation(
255-
fake()->uuid,
255+
fake()->uuid(),
256256
new MockServerExpectation('METHOD', '/path')
257257
);
258258

@@ -322,7 +322,7 @@ function (UnsuccessfulVerificationException $exception) use ($remoteExpectation,
322322
*/
323323
function (): void {
324324
$remoteExpectation = new RemoteExpectation(
325-
fake()->uuid,
325+
fake()->uuid(),
326326
new MockServerExpectation('METHOD', '/path')
327327
);
328328

@@ -392,7 +392,7 @@ function (UnsuccessfulVerificationException $exception) use ($remoteExpectation,
392392
*/
393393
function (): void {
394394
$remoteExpectation = new RemoteExpectation(
395-
fake()->uuid,
395+
fake()->uuid(),
396396
new MockServerExpectation('METHOD', '/path')
397397
);
398398

0 commit comments

Comments
 (0)