Skip to content

Commit 6de3c79

Browse files
committed
tests changed/added
1 parent b9ce335 commit 6de3c79

File tree

13 files changed

+103
-16
lines changed

13 files changed

+103
-16
lines changed

tests/Unit/Generator/Compiler/Mapper/AbstractMapperTest.php

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

77
use N3XT0R\MigrationGenerator\Service\Generator\Compiler\Mapper\AbstractMapper;
88
use PHPUnit\Framework\Attributes\DataProvider;
9-
use Tests\TestCase;
9+
use PHPUnit\Framework\TestCase;
1010

1111
class AbstractMapperTest extends TestCase
1212
{
@@ -45,8 +45,8 @@ public static function chainMethodProvider(): array
4545
}
4646

4747
/**
48-
* @param array $methods
49-
* @param string $expectedResult
48+
* @param array $methods
49+
* @param string $expectedResult
5050
*/
5151
#[DataProvider('chainMethodProvider')]
5252
public function testChainMethodsToStringWorks(array $methods, string $expectedResult): void

tests/Unit/Generator/Compiler/Mapper/FieldMapperTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use N3XT0R\MigrationGenerator\Service\Generator\Compiler\Mapper\FieldMapper;
88
use N3XT0R\MigrationGenerator\Service\Generator\Definition\Entity\FieldEntity;
99
use PHPUnit\Framework\Attributes\DataProvider;
10-
use Tests\TestCase;
10+
use PHPUnit\Framework\TestCase;
1111

1212
class FieldMapperTest extends TestCase
1313
{

tests/Unit/Generator/Compiler/Mapper/ForeignKeyMapperTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
use N3XT0R\MigrationGenerator\Service\Generator\Compiler\Mapper\ForeignKeyMapper;
88
use N3XT0R\MigrationGenerator\Service\Generator\Definition\Entity\ForeignKeyEntity;
9-
use Tests\TestCase;
9+
use PHPUnit\Framework\TestCase;
1010

1111
class ForeignKeyMapperTest extends TestCase
1212
{

tests/Unit/Generator/Compiler/Mapper/IndexMapperTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
use N3XT0R\MigrationGenerator\Service\Generator\Compiler\Mapper\IndexMapper;
88
use N3XT0R\MigrationGenerator\Service\Generator\Definition\Entity\IndexEntity;
9-
use Tests\TestCase;
9+
use PHPUnit\Framework\TestCase;
1010

1111
class IndexMapperTest extends TestCase
1212
{

tests/Unit/Generator/Definition/AbstractDefinitionTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ public function testSetAndGetResultAreSame(): void
4040
}
4141

4242
/**
43-
* @param string $attributeName
44-
* @param bool $expectedResult
43+
* @param string $attributeName
44+
* @param bool $expectedResult
4545
* @testWith ["test", true]
4646
* ["test2", false]
4747
*/
@@ -78,7 +78,7 @@ public function testSetAndGetSchemaAreSame(): void
7878
}
7979

8080
/**
81-
* @param bool $expectedResult
81+
* @param bool $expectedResult
8282
* @testWith [true]
8383
* [false]
8484
*/

tests/Unit/Generator/Definition/Entity/AbstractIndexEntityTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Generator\Definition\Entity;
44

55
use N3XT0R\MigrationGenerator\Service\Generator\Definition\Entity\AbstractIndexEntity;
6-
use Tests\TestCase;
6+
use PHPUnit\Framework\TestCase;
77

88
class AbstractIndexEntityTest extends TestCase
99
{

tests/Unit/Generator/Definition/Entity/FieldEntityTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66

77
use N3XT0R\MigrationGenerator\Service\Generator\Definition\Entity\FieldEntity;
8-
use Tests\TestCase;
8+
use PHPUnit\Framework\TestCase;
99

1010
class FieldEntityTest extends TestCase
1111
{

tests/Unit/Generator/Definition/Entity/ForeignKeyEntityTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66

77
use N3XT0R\MigrationGenerator\Service\Generator\Definition\Entity\ForeignKeyEntity;
8-
use Tests\TestCase;
8+
use PHPUnit\Framework\TestCase;
99

1010
class ForeignKeyEntityTest extends TestCase
1111
{

tests/Unit/Generator/Definition/Entity/PrimaryKeyDefinitionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Generator\Definition\Entity;
44

55
use N3XT0R\MigrationGenerator\Service\Generator\Definition\Entity\PrimaryKeyEntity;
6-
use Tests\TestCase;
6+
use PHPUnit\Framework\TestCase;
77

88
class PrimaryKeyDefinitionTest extends TestCase
99
{

tests/Unit/Generator/Definition/Entity/ResultEntityTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66

77
use N3XT0R\MigrationGenerator\Service\Generator\Definition\Entity\ResultEntity;
8-
use Tests\TestCase;
8+
use PHPUnit\Framework\TestCase;
99

1010
class ResultEntityTest extends TestCase
1111
{

0 commit comments

Comments
 (0)