Skip to content

Commit

Permalink
Merge pull request #117 from mittwald/dependabot/composer/mittwald/ap…
Browse files Browse the repository at this point in the history
…i-client-2.1.12

Bump mittwald/api-client from 2.1.10 to 2.1.12
  • Loading branch information
github-actions[bot] authored Apr 12, 2024
2 parents e750ef3 + 8705e1b commit 4771759
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
15 changes: 8 additions & 7 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions src/Client/MockClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
use Mittwald\ApiClient\Generated\V2\Clients\Domain\DomainClient;
use Mittwald\ApiClient\Generated\V2\Clients\File\FileClient;
use Mittwald\ApiClient\Generated\V2\Clients\Mail\MailClient;
use Mittwald\ApiClient\Generated\V2\Clients\Marketplace\MarketplaceClient;
use Mittwald\ApiClient\Generated\V2\Clients\Notification\NotificationClient;
use Mittwald\ApiClient\Generated\V2\Clients\PageInsights\PageInsightsClient;
use Mittwald\ApiClient\Generated\V2\Clients\Project\ProjectClient;
Expand Down Expand Up @@ -46,6 +47,7 @@ class MockClient implements Client
public ContainerClient&MockObject $container;
public PageInsightsClient&MockObject $pageInsights;
public RelocationClient&MockObject $relocation;
public MarketplaceClient&MockObject $marketplace;

public function __construct(TestCase $test)
{
Expand All @@ -68,6 +70,7 @@ public function __construct(TestCase $test)
$this->container = $test->getMockBuilder(ContainerClient::class)->getMock();
$this->pageInsights = $test->getMockBuilder(PageInsightsClient::class)->getMock();
$this->relocation = $test->getMockBuilder(RelocationClient::class)->getMock();
$this->marketplace = $test->getMockBuilder(MarketplaceClient::class)->getMock();
}

public function project(): ProjectClient
Expand Down Expand Up @@ -165,4 +168,9 @@ public function relocation(): RelocationClient
return $this->relocation;
}

public function marketplace(): MarketplaceClient
{
return $this->marketplace;
}

}

0 comments on commit 4771759

Please sign in to comment.