These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | |||
3 | /* |
||
4 | * This file is part of Laravel Paket. |
||
5 | * |
||
6 | * (c) Anton Komarev <[email protected]> |
||
7 | * |
||
8 | * For the full copyright and license information, please view the LICENSE |
||
9 | * file that was distributed with this source code. |
||
10 | */ |
||
11 | |||
12 | declare(strict_types=1); |
||
13 | |||
14 | namespace Cog\Tests\Laravel\Paket\Unit\Console\Commands; |
||
15 | |||
16 | use Cog\Tests\Laravel\Paket\TestCase; |
||
17 | |||
18 | final class SetupTest extends TestCase |
||
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
19 | { |
||
20 | /** @test */ |
||
21 | public function it_publishes_assets_on_setup(): void |
||
22 | { |
||
23 | $this->withoutMockingConsoleOutput(); |
||
0 ignored issues
–
show
The method
withoutMockingConsoleOutput() does not seem to exist on object<Cog\Tests\Laravel...ole\Commands\SetupTest> .
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces. This is most likely a typographical error or the method has been renamed.
Loading history...
|
|||
24 | $status = $this->artisan('paket:setup'); |
||
25 | |||
26 | $this->assertSame(0, $status); |
||
27 | } |
||
28 | |||
29 | /** @test */ |
||
30 | public function it_publishes_assets_on_setup_with_force_flag(): void |
||
31 | { |
||
32 | $this->withoutMockingConsoleOutput(); |
||
0 ignored issues
–
show
The method
withoutMockingConsoleOutput() does not seem to exist on object<Cog\Tests\Laravel...ole\Commands\SetupTest> .
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces. This is most likely a typographical error or the method has been renamed.
Loading history...
|
|||
33 | $status = $this->artisan('paket:setup', [ |
||
34 | '--force' => true, |
||
35 | ]); |
||
36 | |||
37 | $this->assertSame(0, $status); |
||
38 | } |
||
39 | } |
||
40 |