Skip to content

Commit

Permalink
tests: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
leocavalcante committed Jan 21, 2021
1 parent 3309ad2 commit fa461dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions tests/Fixture/SwooleRequest.php
Expand Up @@ -6,19 +6,19 @@

final class SwooleRequest extends Request
{
private string $data;
private string $content;

public function __construct(string $data = '')
public function __construct(string $content = '')
{
$this->data = $data;
$this->content = $content;
$this->server = [
'request_uri' => '/',
'request_method' => 'GET',
];
}

public function getData(): string
public function rawContent(): string
{
return $this->data;
return $this->content;
}
}
2 changes: 1 addition & 1 deletion tests/Fixture/SwooleResponse.php
Expand Up @@ -48,4 +48,4 @@ public function getStatusCode(): int
{
return $this->statusCode;
}
}
}

0 comments on commit fa461dd

Please sign in to comment.