DIR: /var/www/devs.lapieza.net/vendor/livewire/livewire/src/Commands/ |
Current File : /var/www/devs.lapieza.net/vendor/livewire/livewire/src/Commands/livewire.test.stub |
<?php namespace [testnamespace]; use [classwithnamespace]; use Illuminate\Foundation\Testing\RefreshDatabase; use Illuminate\Foundation\Testing\WithFaker; use Livewire\Livewire; use Tests\TestCase; class [testclass] extends TestCase { /** @test */ public function the_component_can_render() { $component = Livewire::test([class]::class); $component->assertStatus(200); } } |