Skip to content

Commit

Permalink
Use the new FlowTestCase in all Bridges tests (#1307)
Browse files Browse the repository at this point in the history
Co-authored-by: Norbert Orzechowicz <1921950+norberttech@users.noreply.github.com>
  • Loading branch information
Bellangelo and norberttech authored Dec 30, 2024
1 parent dbba660 commit d701445
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

use function Flow\Azure\SDK\DSL\{azure_blob_service, azure_blob_service_config, azure_http_factory, azure_shared_key_authorization_factory, azurite_url_factory};
use Flow\Azure\SDK\{BlobService, Exception\AzureException};
use Flow\ETL\Tests\FlowTestCase;
use Http\Discovery\{Psr17FactoryDiscovery, Psr18ClientDiscovery};
use PHPUnit\Framework\TestCase;

abstract class AzureBlobServiceTestCase extends TestCase
abstract class AzureBlobServiceTestCase extends FlowTestCase
{
/**
* @var array<string>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
use Flow\Azure\SDK\BlobService\PutBlockBlobBlock\PutBlockBlobBlockOptions;
use Flow\Azure\SDK\BlobService\PutBlockBlobBlockList\PutBlockBlobBlockListOptions;
use Flow\Azure\SDK\BlobServiceInterface;
use Flow\ETL\Tests\FlowTestCase;
use Flow\Filesystem\Bridge\Azure\AzureBlobDestinationStream;
use Flow\Filesystem\Path;
use Flow\Filesystem\Stream\{Block, BlockFactory};
use PHPUnit\Framework\TestCase;

final class AzureBlobDestinationStreamTest extends TestCase
final class AzureBlobDestinationStreamTest extends FlowTestCase
{
public function test_using_put_blob_with_content_when_data_is_larger_than_block_size() : void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

use Flow\Bridge\Monolog\Http\Config\ResponseConfig;
use Flow\Bridge\Monolog\Http\{Config, PSR7Processor};
use Flow\ETL\Tests\FlowTestCase;
use Nyholm\Psr7\Factory\Psr17Factory;
use PHPUnit\Framework\TestCase;

final class PSR7ProcessorTest extends TestCase
final class PSR7ProcessorTest extends FlowTestCase
{
public function test_normalizing_http_request() : void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
Output\CSVOutput,
Output\JsonOutput,
Output\XMLOutput};
use PHPUnit\Framework\TestCase;
use Flow\ETL\Tests\FlowTestCase;

final class FlowStreamedResponseTest extends TestCase
final class FlowStreamedResponseTest extends FlowTestCase
{
public function test_streaming_array_response_to_csv() : void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

use function Flow\ETL\DSL\{df, from_array};
use Flow\Bridge\Symfony\HttpFoundation\Transformation\MaskColumns;
use PHPUnit\Framework\TestCase;
use Flow\ETL\Tests\FlowTestCase;

final class MaskColumnTransformationTest extends TestCase
final class MaskColumnTransformationTest extends FlowTestCase
{
public function test_masking_columns_transformation() : void
{
Expand Down

0 comments on commit d701445

Please sign in to comment.