Skip to content

Commit 638bdd2

Browse files
committed
test: use verbose output
1 parent 8b52523 commit 638bdd2

File tree

3 files changed

+27
-27
lines changed

3 files changed

+27
-27
lines changed

composer.json

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -45,41 +45,41 @@
4545
"php": "^8.2",
4646
"ext-fileinfo": "*",
4747
"ext-pdo": "*",
48-
"cycle/annotated": "^4.1",
49-
"cycle/database": "^2.8",
50-
"cycle/entity-behavior": "^1.3",
48+
"cycle/annotated": "^4.3",
49+
"cycle/database": "^2.15",
50+
"cycle/entity-behavior": "^1.7",
5151
"cycle/entity-behavior-uuid": "^1.2",
5252
"cycle/migrations": "^4.2",
53-
"cycle/orm": "^2.7",
54-
"cycle/schema-builder": "^2.8",
55-
"cycle/schema-migrations-generator": "^2.2",
56-
"cycle/schema-renderer": "^1.2",
53+
"cycle/orm": "^2.11",
54+
"cycle/schema-builder": "^2.11",
55+
"cycle/schema-migrations-generator": "^2.3",
56+
"cycle/schema-renderer": "^1.3",
5757
"laravel/framework": "^10.28 || ^11.0 || ^12.0",
5858
"psr/log": "^3.0",
5959
"spiral/attributes": "^3.1",
60-
"spiral/core": "^3.12",
61-
"spiral/tokenizer": "^3.12",
62-
"symfony/console": "^6.4 || ^7.0"
60+
"spiral/core": "^3.15",
61+
"spiral/tokenizer": "^3.15",
62+
"symfony/console": "^6.4 || ^7.3"
6363
},
6464
"require-dev": {
6565
"ext-curl": "*",
6666
"ext-pdo_mysql": "*",
6767
"beberlei/assert": "^3.3",
68-
"fakerphp/faker": "^1.23",
69-
"larastan/larastan": "^2.9",
70-
"laravel/telescope": "^5.0",
71-
"orchestra/testbench": "^8.21 || ^9.0.0",
72-
"pestphp/pest": "^2.34",
73-
"pestphp/pest-plugin-laravel": "^2.3",
74-
"phpstan/extension-installer": "^1.3",
75-
"phpstan/phpstan": "^1.10",
76-
"phpstan/phpstan-deprecation-rules": "^1.1",
77-
"phpstan/phpstan-phpunit": "^1.3",
78-
"phpstan/phpstan-strict-rules": "^1.5",
68+
"fakerphp/faker": "^1.24",
69+
"larastan/larastan": "^2.11",
70+
"laravel/telescope": "^5.12",
71+
"orchestra/testbench": "^8.21 || ^9.15.0",
72+
"pestphp/pest": "^2.36",
73+
"pestphp/pest-plugin-laravel": "^2.4",
74+
"phpstan/extension-installer": "^1.4",
75+
"phpstan/phpstan": "^1.12",
76+
"phpstan/phpstan-deprecation-rules": "^1.2",
77+
"phpstan/phpstan-phpunit": "^1.4",
78+
"phpstan/phpstan-strict-rules": "^1.6",
7979
"phpunit/phpunit": "^10.5",
80-
"psalm/plugin-laravel": "^2.11",
80+
"psalm/plugin-laravel": "^2.12",
8181
"psalm/plugin-phpunit": "~0.19.0",
82-
"rector/rector": "^1.0",
82+
"rector/rector": "^1.2",
8383
"roave/infection-static-analysis-plugin": "^1.35",
8484
"vimeo/psalm": "^5.23.1",
8585
"wayofdev/cs-fixer-config": "^1.5"

composer.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/src/Bridge/Laravel/Console/Commands/ORM/MigrateCommandTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ protected function setUp(): void
3838
#[Test]
3939
public function it_runs_migrate(): void
4040
{
41-
$this->assertConsoleCommandOutputContainsStrings('cycle:orm:migrate', ['-n' => true], self::USER_MIGRATION);
41+
$this->assertConsoleCommandOutputContainsStrings('cycle:orm:migrate', ['-n' => true, '-v' => true], self::USER_MIGRATION);
4242

4343
$this->assertConsoleCommandOutputContainsStrings('cycle:orm:migrate', ['-n' => true], [
4444
'Outstanding migrations found',
@@ -58,7 +58,7 @@ public function it_runs_migrate_with_no_changes(): void
5858
#[Test]
5959
public function it_creates_migration_when_entity_appeared(): void
6060
{
61-
$this->assertConsoleCommandOutputContainsStrings('cycle:orm:migrate', ['-r' => true], self::USER_MIGRATION);
61+
$this->assertConsoleCommandOutputContainsStrings('cycle:orm:migrate', ['-r' => true, '-v' => true], self::USER_MIGRATION);
6262

6363
$entity = __DIR__ . '/../../../../../../app/Entities/Tag.php';
6464

@@ -83,7 +83,7 @@ class Tag
8383
PHP
8484
);
8585

86-
$this->assertConsoleCommandOutputContainsStrings('cycle:orm:migrate', ['-r' => true], [
86+
$this->assertConsoleCommandOutputContainsStrings('cycle:orm:migrate', ['-r' => true, '-v' => true], [
8787
'default.tags',
8888
'create table',
8989
'add column [id]',

0 commit comments

Comments
 (0)