Skip to content

Commit

Permalink
Avoid using of Testbench API that changed from version to version
Browse files Browse the repository at this point in the history
  • Loading branch information
alies-dev committed May 27, 2020
1 parent e2b5752 commit ad779f6
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tests/Commands/FindMissingTranslationsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,16 @@ final class FindMissingTranslationsTest extends TestCase
/** @test */
public function it_does_not_report_about_synchronized_files()
{
$this->withoutMockingConsoleOutput();

$this
->artisan(FindMissingTranslations::class, [
'--dir' => __DIR__.'/sync_lang_files',
'--base' => 'en',
])
->assertExitCode(0)
->expectsOutput('Successfully compared all languages.');
]);
$output = \Artisan::output();

$this->assertSame('Successfully compared all languages.', trim($output));
}

/** @test */
Expand Down

0 comments on commit ad779f6

Please sign in to comment.