Skip to content

Commit 06593a6

Browse files
author
Stepan Zolotarev
committed
Tests fixes
1 parent bd72d95 commit 06593a6

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

tests/Sql/AmpPostgreSQL/AmpPostgreSQLAdapterTest.php renamed to tests/Sql/AmpPostgreSQL/AmpPostgreSQLAdapterTestCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@
1919
use ServiceBus\Storage\Common\Exceptions\ConnectionFailed;
2020
use ServiceBus\Storage\Common\StorageConfiguration;
2121
use ServiceBus\Storage\Sql\AmpPosgreSQL\AmpPostgreSQLAdapter;
22-
use ServiceBus\Storage\Tests\Sql\BaseStorageAdapterTest;
22+
use ServiceBus\Storage\Tests\Sql\BaseStorageAdapterTestCase;
2323

2424
use function Amp\Promise\wait;
2525
use function ServiceBus\Storage\Sql\AmpPosgreSQL\postgreSqlAdapterFactory;
2626

2727
/**
2828
* @group amphp
2929
*/
30-
final class AmpPostgreSQLAdapterTest extends BaseStorageAdapterTest
30+
final class AmpPostgreSQLAdapterTestCase extends BaseStorageAdapterTestCase
3131
{
3232
/**
3333
* @var AmpPostgreSQLAdapter|null

tests/Sql/AmpPostgreSQL/AmpPostgreSQLTransactionTest.php renamed to tests/Sql/AmpPostgreSQL/AmpPostgreSQLTransactionTestCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@
1616

1717
use ServiceBus\Storage\Common\DatabaseAdapter;
1818
use ServiceBus\Storage\Sql\AmpPosgreSQL\AmpPostgreSQLAdapter;
19-
use ServiceBus\Storage\Tests\Sql\BaseTransactionTest;
19+
use ServiceBus\Storage\Tests\Sql\BaseTransactionTestCase;
2020

2121
use function Amp\Promise\wait;
2222
use function ServiceBus\Storage\Sql\AmpPosgreSQL\postgreSqlAdapterFactory;
2323

2424
/**
2525
* @group amphp
2626
*/
27-
final class AmpPostgreSQLTransactionTest extends BaseTransactionTest
27+
final class AmpPostgreSQLTransactionTestCase extends BaseTransactionTestCase
2828
{
2929
/**
3030
* @var AmpPostgreSQLAdapter|null

tests/Sql/BaseStorageAdapterTest.php renamed to tests/Sql/BaseStorageAdapterTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
/**
3535
*
3636
*/
37-
abstract class BaseStorageAdapterTest extends TestCase
37+
abstract class BaseStorageAdapterTestCase extends TestCase
3838
{
3939
/**
4040
* Get database adapter.

tests/Sql/BaseTransactionTest.php renamed to tests/Sql/BaseTransactionTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
/**
3333
*
3434
*/
35-
abstract class BaseTransactionTest extends TestCase
35+
abstract class BaseTransactionTestCase extends TestCase
3636
{
3737
protected function tearDown(): void
3838
{

tests/Sql/DoctrineDBAL/DoctrineDBALAdapterTest.php renamed to tests/Sql/DoctrineDBAL/DoctrineDBALAdapterTestCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@
2020
use ServiceBus\Storage\Common\Exceptions\StorageInteractingFailed;
2121
use ServiceBus\Storage\Common\StorageConfiguration;
2222
use ServiceBus\Storage\Sql\DoctrineDBAL\DoctrineDBALAdapter;
23-
use ServiceBus\Storage\Tests\Sql\BaseStorageAdapterTest;
23+
use ServiceBus\Storage\Tests\Sql\BaseStorageAdapterTestCase;
2424

2525
use function Amp\Promise\wait;
2626
use function ServiceBus\Storage\Sql\DoctrineDBAL\inMemoryAdapter;
2727

2828
/**
2929
* @group inmemory
3030
*/
31-
final class DoctrineDBALAdapterTest extends BaseStorageAdapterTest
31+
final class DoctrineDBALAdapterTestCase extends BaseStorageAdapterTestCase
3232
{
3333
/**
3434
* @var DoctrineDBALAdapter|null

tests/Sql/DoctrineDBAL/DoctrineDBALTransactionTest.php renamed to tests/Sql/DoctrineDBAL/DoctrineDBALTransactionTestCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@
1616

1717
use ServiceBus\Storage\Common\DatabaseAdapter;
1818
use ServiceBus\Storage\Sql\DoctrineDBAL\DoctrineDBALAdapter;
19-
use ServiceBus\Storage\Tests\Sql\BaseTransactionTest;
19+
use ServiceBus\Storage\Tests\Sql\BaseTransactionTestCase;
2020

2121
use function Amp\Promise\wait;
2222
use function ServiceBus\Storage\Sql\DoctrineDBAL\inMemoryAdapter;
2323

2424
/**
2525
* @group inmemory
2626
*/
27-
final class DoctrineDBALTransactionTest extends BaseTransactionTest
27+
final class DoctrineDBALTransactionTestCase extends BaseTransactionTestCase
2828
{
2929
/**
3030
* @var DoctrineDBALAdapter|null

0 commit comments

Comments
 (0)