From b2eb707a1771676da294543fc07ab84ba1fd220c Mon Sep 17 00:00:00 2001 From: ilyakubanov Date: Thu, 10 Oct 2024 20:20:26 +0200 Subject: [PATCH] Fixing tests --- .../_support/AmazonQuicksightBusinessTester.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/SprykerEcoTest/Zed/AmazonQuicksight/_support/AmazonQuicksightBusinessTester.php b/tests/SprykerEcoTest/Zed/AmazonQuicksight/_support/AmazonQuicksightBusinessTester.php index 9505331..8f0a21a 100644 --- a/tests/SprykerEcoTest/Zed/AmazonQuicksight/_support/AmazonQuicksightBusinessTester.php +++ b/tests/SprykerEcoTest/Zed/AmazonQuicksight/_support/AmazonQuicksightBusinessTester.php @@ -28,6 +28,7 @@ use SprykerEco\Zed\AmazonQuicksight\Business\AmazonQuicksightFacadeInterface; use SprykerEco\Zed\AmazonQuicksight\Business\FileContentLoader\AssetBundleImportFileContentLoader; use SprykerEco\Zed\AmazonQuicksight\Business\FileContentLoader\AssetBundleImportFileContentLoaderInterface; +use SprykerEco\Zed\AmazonQuicksight\Dependency\External\AmazonQuicksightToAwsQuicksightClientAdapter; use SprykerEco\Zed\AmazonQuicksight\Dependency\External\AmazonQuicksightToAwsQuicksightClientInterface; use SprykerEco\Zed\AmazonQuicksight\Persistence\AmazonQuicksightEntityManager; use SprykerEco\Zed\AmazonQuicksight\Persistence\AmazonQuicksightRepository; @@ -137,11 +138,11 @@ public function getQuicksightExceptionMock(string $message): QuickSightException } /** - * @return \SprykerEco\Zed\AmazonQuicksight\Dependency\External\AmazonQuicksightToAwsQuicksightClientInterface|\PHPUnit\Framework\MockObject\MockObject + * @return \SprykerEco\Zed\AmazonQuicksight\Dependency\External\AmazonQuicksightToAwsQuicksightClientAdapter|\PHPUnit\Framework\MockObject\MockObject */ - public function getAwsQuicksightClientMock(): AmazonQuicksightToAwsQuicksightClientInterface + public function getAwsQuicksightClientMock(): AmazonQuicksightToAwsQuicksightClientAdapter { - return Stub::makeEmpty(AmazonQuicksightToAwsQuicksightClientInterface::class); + return Stub::makeEmpty(AmazonQuicksightToAwsQuicksightClientAdapter::class); } /**