Skip to content

Commit

Permalink
increase test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
otis22 committed Mar 13, 2023
1 parent 8063063 commit 7520d72
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/unit/Url/FromJsonTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,13 @@ public function testHostNameWithEmptyUrl(): void
);
$url->asString();
}

public function testFromDomainAndBillingApi(): void
{
$this->expectException(\Exception::class);
FromJson::fromDomainAndBillingApi(
new Domain('test'),
new BillingApi('test')
);
}
}

0 comments on commit 7520d72

Please sign in to comment.