ArtisanCommands.php 390 B

123456789101112131415161718
  1. <?php
  2. namespace Tests\Unit;
  3. use Tests\TestCase;
  4. use Illuminate\Foundation\Testing\WithFaker;
  5. use Illuminate\Foundation\Testing\RefreshDatabase;
  6. class ArtisanCommands extends TestCase
  7. {
  8. /** @test */
  9. public function it_can_generate_files()
  10. {
  11. $this->artisan('make:structure Test')
  12. ->expectsOutput('File structure for Test created.')
  13. ->assertExitCode();
  14. }
  15. }