Conditions | 1 |
Paths | 1 |
Total Lines | 25 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
34 | 1 | public function install(): void |
|
35 | { |
||
36 | 1 | $this->require('nunomaduro/laravel-console-dusk'); |
|
37 | |||
38 | 1 | $this->info('Usage:'); |
|
39 | 1 | $this->comment( |
|
40 | 1 | ' |
|
41 | class VisitLaravelZeroCommand extends Command |
||
42 | { |
||
43 | /** |
||
44 | * Execute the console command. |
||
45 | * |
||
46 | * @return void |
||
47 | */ |
||
48 | public function handle() |
||
49 | { |
||
50 | $this->browse(function ($browser) { |
||
51 | $browser->visit("http://laravel-zero.com") |
||
52 | ->assertSee("Collision"); |
||
53 | }); |
||
54 | } |
||
55 | } |
||
56 | ' |
||
57 | ); |
||
58 | 1 | } |
|
59 | } |
||
60 |