Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksandr-mykhailenko committed Jul 29, 2024
1 parent 266669b commit a97aad1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Api/TagTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,18 +127,18 @@ public function testStats()
$api = $this->getApiMock();
$api->expects($this->once())
->method('httpGet')
->with('/v3/domain/tags/foo/stats', ['event' => 'foo'])
->with('/v3/domain/tag/stats', ['event' => 'foo', 'tag' => 'tag'])
->willReturn(new Response());

$api->stats('domain', 'foo', ['event' => 'foo']);
$api->stats('domain', ['event' => 'foo', 'tag' => 'tag']);
}

public function testDelete()
{
$api = $this->getApiMock();
$api->expects($this->once())
->method('httpDelete')
->with('/v3/domain/tags/foo')
->with('/v3/domain/tag')
->willReturn(new Response());

$api->delete('domain', 'foo');
Expand Down

0 comments on commit a97aad1

Please sign in to comment.