Skip to content

Commit d701445

Browse files
Use the new FlowTestCase in all Bridges tests (#1307)
Co-authored-by: Norbert Orzechowicz <[email protected]>
1 parent dbba660 commit d701445

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

src/bridge/filesystem/azure/tests/Flow/Filesystem/Bridge/Azure/Tests/Integration/AzureBlobServiceTestCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66

77
use function Flow\Azure\SDK\DSL\{azure_blob_service, azure_blob_service_config, azure_http_factory, azure_shared_key_authorization_factory, azurite_url_factory};
88
use Flow\Azure\SDK\{BlobService, Exception\AzureException};
9+
use Flow\ETL\Tests\FlowTestCase;
910
use Http\Discovery\{Psr17FactoryDiscovery, Psr18ClientDiscovery};
10-
use PHPUnit\Framework\TestCase;
1111

12-
abstract class AzureBlobServiceTestCase extends TestCase
12+
abstract class AzureBlobServiceTestCase extends FlowTestCase
1313
{
1414
/**
1515
* @var array<string>

src/bridge/filesystem/azure/tests/Flow/Filesystem/Bridge/Azure/Tests/Unit/AzureBlobDestinationStreamTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
use Flow\Azure\SDK\BlobService\PutBlockBlobBlock\PutBlockBlobBlockOptions;
1010
use Flow\Azure\SDK\BlobService\PutBlockBlobBlockList\PutBlockBlobBlockListOptions;
1111
use Flow\Azure\SDK\BlobServiceInterface;
12+
use Flow\ETL\Tests\FlowTestCase;
1213
use Flow\Filesystem\Bridge\Azure\AzureBlobDestinationStream;
1314
use Flow\Filesystem\Path;
1415
use Flow\Filesystem\Stream\{Block, BlockFactory};
15-
use PHPUnit\Framework\TestCase;
1616

17-
final class AzureBlobDestinationStreamTest extends TestCase
17+
final class AzureBlobDestinationStreamTest extends FlowTestCase
1818
{
1919
public function test_using_put_blob_with_content_when_data_is_larger_than_block_size() : void
2020
{

src/bridge/monolog/http/tests/Flow/Bridge/Monolog/Http/Tests/Unit/PSR7ProcessorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66

77
use Flow\Bridge\Monolog\Http\Config\ResponseConfig;
88
use Flow\Bridge\Monolog\Http\{Config, PSR7Processor};
9+
use Flow\ETL\Tests\FlowTestCase;
910
use Nyholm\Psr7\Factory\Psr17Factory;
10-
use PHPUnit\Framework\TestCase;
1111

12-
final class PSR7ProcessorTest extends TestCase
12+
final class PSR7ProcessorTest extends FlowTestCase
1313
{
1414
public function test_normalizing_http_request() : void
1515
{

src/bridge/symfony/http-foundation/tests/Flow/Bridge/Symfony/HttpFoundation/Tests/Integration/FlowStreamedResponseTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
Output\CSVOutput,
1111
Output\JsonOutput,
1212
Output\XMLOutput};
13-
use PHPUnit\Framework\TestCase;
13+
use Flow\ETL\Tests\FlowTestCase;
1414

15-
final class FlowStreamedResponseTest extends TestCase
15+
final class FlowStreamedResponseTest extends FlowTestCase
1616
{
1717
public function test_streaming_array_response_to_csv() : void
1818
{

src/bridge/symfony/http-foundation/tests/Flow/Bridge/Symfony/HttpFoundation/Tests/Unit/Transformation/MaskColumnTransformationTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77
use function Flow\ETL\DSL\{df, from_array};
88
use Flow\Bridge\Symfony\HttpFoundation\Transformation\MaskColumns;
9-
use PHPUnit\Framework\TestCase;
9+
use Flow\ETL\Tests\FlowTestCase;
1010

11-
final class MaskColumnTransformationTest extends TestCase
11+
final class MaskColumnTransformationTest extends FlowTestCase
1212
{
1313
public function test_masking_columns_transformation() : void
1414
{

0 commit comments

Comments
 (0)