Skip to content

Commit 9683f3a

Browse files
authored
Refactor tests (#1098)
1 parent c6c05b6 commit 9683f3a

File tree

73 files changed

+5429
-6397
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+5429
-6397
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ phpunit.phar
3535
# local phpunit config and cache
3636
/phpunit.xml
3737
/.phpunit.result.cache
38-
/tests/Support/runtime/
3938

4039
# NPM packages
4140
/node_modules

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,12 @@
4646
"spatie/phpunit-watcher": "^1.24",
4747
"vimeo/psalm": "^5.26.1 || ^6.8.8",
4848
"yiisoft/aliases": "^3.0",
49-
"yiisoft/cache-file": "^3.2",
5049
"yiisoft/di": "^1.3",
5150
"yiisoft/dummy-provider": "^1.1",
5251
"yiisoft/event-dispatcher": "^1.1",
5352
"yiisoft/log": "^2.1",
53+
"yiisoft/psr-dummy-provider": "^1.0",
54+
"yiisoft/test-support": "^3.0",
5455
"yiisoft/var-dumper": "^1.7",
5556
"yiisoft/yii-debug": "dev-master"
5657
},

docker/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ RUN echo 'umask 002' >> /root/.bashrc
6464
RUN docker-php-ext-install \
6565
pdo_mysql \
6666
pdo_pgsql \
67+
pcntl \
6768
# For Psalm, to make use of JIT for a 20%+ performance boost.
6869
opcache
6970

rector.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
__DIR__ . '/src/Schema/Data/StringableStream.php',
3232
],
3333
GetDebugTypeRector::class => [
34-
__DIR__ . '/tests/AbstractColumnTest.php',
34+
__DIR__ . '/tests/Common/CommonColumnTest.php',
35+
__DIR__ . '/tests/Db/Schema/Column/ColumnTest.php',
3536
],
3637
ReadOnlyPropertyRector::class,
3738
NullToStrictStringFuncCallArgRector::class,

tests/AbstractColumnTest.php

Lines changed: 0 additions & 67 deletions
This file was deleted.

tests/AbstractCommandTest.php

Lines changed: 0 additions & 236 deletions
This file was deleted.

0 commit comments

Comments
 (0)