Skip to content

Commit

Permalink
Remove unnecessary test property
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromegamez committed Dec 8, 2024
1 parent f87d685 commit 89dd82e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/Unit/Database/QueryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,16 @@
*/
final class QueryTest extends UnitTestCase
{
private Uri $uri;
private Reference&MockObject $reference;
private ApiClient&MockObject $apiClient;
private Query $query;

protected function setUp(): void
{
$this->uri = new Uri('http://example.com/some/path');
$uri = new Uri('http://example.com/some/path');

$reference = $this->createMock(Reference::class);
$reference->method('getURI')->willReturn($this->uri);
$reference->method('getURI')->willReturn($uri);

$this->reference = $reference;

Expand Down

0 comments on commit 89dd82e

Please sign in to comment.