Skip to content

Commit 438451f

Browse files
authored
[make:migration] assert the output we care about (#1254)
1 parent 717e12d commit 438451f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Maker/MakeMigrationTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@ public function getTestDetails(): \Generator
111111
'y',
112112
]);
113113

114-
$this->assertStringContainsString('You have 1 available migrations to execute', $output);
114+
$this->assertStringContainsString('[WARNING] You have 1 available migrations to execute', $output);
115+
$this->assertStringContainsString('Are you sure you wish to continue?', $output);
115116
$this->assertStringContainsString('Success', $output);
116-
$this->assertCount(14, explode("\n", $output), 'Asserting that very specific output is shown - some should be hidden');
117117
}),
118118
];
119119

0 commit comments

Comments
 (0)