Skip to content

Commit be462ec

Browse files
committed
fix: Remove phpDoc duplicate from parent
1 parent b9e7a71 commit be462ec

File tree

4 files changed

+6
-75
lines changed

4 files changed

+6
-75
lines changed

tests/system/Database/DatabaseTestCase/DatabaseTestCaseMigrationOnce1Test.php

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -29,29 +29,9 @@ final class DatabaseTestCaseMigrationOnce1Test extends CIUnitTestCase
2929
{
3030
use DatabaseTestTrait;
3131

32-
/**
33-
* Should run db migration only once?
34-
*
35-
* @var bool
36-
*/
3732
protected $migrateOnce = true;
38-
39-
/**
40-
* Should the db be refreshed before test?
41-
*
42-
* @var bool
43-
*/
44-
protected $refresh = true;
45-
46-
/**
47-
* The namespace(s) to help us find the migration classes.
48-
* Empty is equivalent to running `spark migrate -all`.
49-
* Note that running "all" runs migrations in date order,
50-
* but specifying namespaces runs them in namespace order (then date)
51-
*
52-
* @var list<string>|string|null
53-
*/
54-
protected $namespace = [
33+
protected $refresh = true;
34+
protected $namespace = [
5535
'Tests\Support\MigrationTestMigrations',
5636
];
5737

tests/system/Database/DatabaseTestCase/DatabaseTestCaseMigrationOnce2Test.php

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -29,29 +29,9 @@ final class DatabaseTestCaseMigrationOnce2Test extends CIUnitTestCase
2929
{
3030
use DatabaseTestTrait;
3131

32-
/**
33-
* Should run db migration only once?
34-
*
35-
* @var bool
36-
*/
3732
protected $migrateOnce = true;
38-
39-
/**
40-
* Should the db be refreshed before test?
41-
*
42-
* @var bool
43-
*/
44-
protected $refresh = true;
45-
46-
/**
47-
* The namespace(s) to help us find the migration classes.
48-
* Empty is equivalent to running `spark migrate -all`.
49-
* Note that running "all" runs migrations in date order,
50-
* but specifying namespaces runs them in namespace order (then date)
51-
*
52-
* @var list<string>|string|null
53-
*/
54-
protected $namespace = [
33+
protected $refresh = true;
34+
protected $namespace = [
5535
'Tests\Support\MigrationTestMigrations',
5636
];
5737

tests/system/Database/DatabaseTestCaseTest.php

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -28,33 +28,11 @@ final class DatabaseTestCaseTest extends CIUnitTestCase
2828
{
2929
use DatabaseTestTrait;
3030

31-
/**
32-
* Should the db be refreshed before
33-
* each test?
34-
*
35-
* @var bool
36-
*/
3731
protected $refresh = true;
38-
39-
/**
40-
* The seed file(s) used for all tests within this test case.
41-
* Should be fully-namespaced or relative to $basePath
42-
*
43-
* @var ''|class-string<Seeder>|list<class-string<Seeder>>
44-
*/
45-
protected $seed = [
32+
protected $seed = [
4633
CITestSeeder::class,
4734
AnotherSeeder::class,
4835
];
49-
50-
/**
51-
* The namespace(s) to help us find the migration classes.
52-
* Empty is equivalent to running `spark migrate -all`.
53-
* Note that running "all" runs migrations in date order,
54-
* but specifying namespaces runs them in namespace order (then date)
55-
*
56-
* @var list<string>|string|null
57-
*/
5836
protected $namespace = [
5937
'Tests\Support',
6038
'Tests\Support\MigrationTestMigrations',

tests/system/Database/Live/MetadataTest.php

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
namespace CodeIgniter\Database\Live;
1515

16-
use CodeIgniter\Database\Seeder;
1716
use CodeIgniter\Test\CIUnitTestCase;
1817
use CodeIgniter\Test\DatabaseTestTrait;
1918
use Config\Database;
@@ -28,13 +27,7 @@ final class MetadataTest extends CIUnitTestCase
2827
{
2928
use DatabaseTestTrait;
3029

31-
/**
32-
* The seed file used for all tests within this test case.
33-
*
34-
* @var ''|class-string<Seeder>|list<class-string<Seeder>>
35-
*/
36-
protected $seed = CITestSeeder::class;
37-
30+
protected $seed = CITestSeeder::class;
3831
private array $expectedTables = [];
3932

4033
protected function setUp(): void

0 commit comments

Comments
 (0)