diff --git a/tests/Repositories/EstateFileRepositoryTest.php b/tests/Repositories/EstateFileRepositoryTest.php index 1ce40ef..4498f40 100644 --- a/tests/Repositories/EstateFileRepositoryTest.php +++ b/tests/Repositories/EstateFileRepositoryTest.php @@ -5,7 +5,7 @@ use Illuminate\Support\Facades\Http; use Innobrain\OnOfficeAdapter\Facades\EstateRepository; use Innobrain\OnOfficeAdapter\Facades\Testing\RecordFactories\FileFactory; -use Innobrain\OnOfficeAdapter\Tests\Stubs\GetEstatePicturesResponse; +use Innobrain\OnOfficeAdapter\Tests\Stubs\GetEstateFilesResponse; describe('fake responses', function () { test('get', function () { @@ -30,9 +30,9 @@ Http::preventStrayRequests(); Http::fake([ 'https://api.onoffice.de/api/stable/api.php/' => Http::sequence([ - GetEstatePicturesResponse::make(count: 1500), - GetEstatePicturesResponse::make(count: 1500), - GetEstatePicturesResponse::make(count: 1500), + GetEstateFilesResponse::make(count: 1500), + GetEstateFilesResponse::make(count: 1500), + GetEstateFilesResponse::make(count: 1500), ]), ]); diff --git a/tests/Stubs/EmptyGetEstatePicturesResponse.php b/tests/Stubs/EmptyGetEstateFilesResponse.php similarity index 97% rename from tests/Stubs/EmptyGetEstatePicturesResponse.php rename to tests/Stubs/EmptyGetEstateFilesResponse.php index 63a6896..57bb33a 100644 --- a/tests/Stubs/EmptyGetEstatePicturesResponse.php +++ b/tests/Stubs/EmptyGetEstateFilesResponse.php @@ -7,7 +7,7 @@ use GuzzleHttp\Promise\PromiseInterface; use Illuminate\Support\Facades\Http; -class EmptyGetEstatePicturesResponse +class EmptyGetEstateFilesResponse { public static function make(array $data = []): PromiseInterface { diff --git a/tests/Stubs/GetEstatePictureResponse.php b/tests/Stubs/GetEstateFileResponse.php similarity index 99% rename from tests/Stubs/GetEstatePictureResponse.php rename to tests/Stubs/GetEstateFileResponse.php index 239a723..3753113 100644 --- a/tests/Stubs/GetEstatePictureResponse.php +++ b/tests/Stubs/GetEstateFileResponse.php @@ -7,7 +7,7 @@ use GuzzleHttp\Promise\PromiseInterface; use Illuminate\Support\Facades\Http; -class GetEstatePictureResponse +class GetEstateFileResponse { public static function make(array $data = [], int $id = 1281): PromiseInterface { diff --git a/tests/Stubs/GetEstatePicturesResponse.php b/tests/Stubs/GetEstateFilesResponse.php similarity index 99% rename from tests/Stubs/GetEstatePicturesResponse.php rename to tests/Stubs/GetEstateFilesResponse.php index 72dfcd6..0122500 100644 --- a/tests/Stubs/GetEstatePicturesResponse.php +++ b/tests/Stubs/GetEstateFilesResponse.php @@ -7,7 +7,7 @@ use GuzzleHttp\Promise\PromiseInterface; use Illuminate\Support\Facades\Http; -class GetEstatePicturesResponse +class GetEstateFilesResponse { public static function make(array $data = [], int $count = 2): PromiseInterface {