![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mcoil.corals.io/tests/Feature/Front/Quotations/ |
<?php namespace Tests\Feature\Front\Quotations; use Tests\TestCase; use App\Shop\Rrps\Rrp; use App\Shop\Businesses\Business; use App\Shop\Quotations\Quotation; use Illuminate\Foundation\Testing\WithFaker; use App\Shop\QuotationStatuses\QuotationStatus; use Illuminate\Foundation\Testing\RefreshDatabase; class QuotationFeatureTest extends TestCase { /** @test */ public function it_can_show_menu_quotation() { // $this // ->actingAs($this->customer, 'web') // ->get(route('quotations.index')) // ->assertStatus(200) // ->assertSee('Quotations'); // ; } /** @test */ public function it_can_search_for_the_quotation() { $rrp = factory(Rrp::class, 9)->create(); $business = factory(Business::class)->create(); $status = factory(QuotationStatus::class,5)->create(); $quotation = factory(Quotation::class)->create(); $param = ['q' => $quotation->title]; //$this->withoutExceptionHandling(); // $this // ->actingAs($this->customer, 'web') // ->get(route('quotations.index',['q' => $quotation->title])) // ->assertStatus(200) // ->assertSee($quotation->title); // ; } }