Skip to content

Commit

Permalink
test: Test FFI\Client::withSpecification()
Browse files Browse the repository at this point in the history
  • Loading branch information
tienvx committed Sep 27, 2024
1 parent 698202f commit d5d1465
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/PhpPact/FFI/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,12 @@ public function testNewPact(): void
$this->client->freePactHandle($result);
}

public function testWithSpecification(): void
{
$result = $this->client->withSpecification(1, 123);
$this->assertFalse($result);
}

public function testInitWithLogLevel(): void
{
$this->client->initWithLogLevel('test');
Expand Down

0 comments on commit d5d1465

Please sign in to comment.