Skip to content

Commit

Permalink
Remove unused method
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Mattos <[email protected]>
  • Loading branch information
vitormattos committed Mar 22, 2024
1 parent baf32b9 commit 3390b66
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions tests/integration/features/bootstrap/FeatureContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,17 +142,6 @@ protected function parseText(string $text): string {
return $text;
}

private function getFileUuidFromText(string $text): ?string {
if (!$this->isJson($text)) {
return '';
}
$json = json_decode($text, true);
if (isset($json['sign']['uuid']) && $json['sign']['uuid']) {
return $this->file['uuid'] = $json['sign']['uuid'];
}
return '';
}

/**
* @Given the signer contains
*/
Expand Down Expand Up @@ -204,7 +193,7 @@ public function iChangeTheFile(TableNode $body): void {
foreach ($body->getTable() as $key => $row) {
$newBody[$key] = $row;
if ($row[1] === '<FILE_UUID>') {
$newBody[$key][1] = $this->file['uuid'];
$newBody[$key][1] = $this->fields['FILE_UUID'];
}
}
$body = new TableNode($newBody);
Expand Down

0 comments on commit 3390b66

Please sign in to comment.