tests/Feature/Admin/ManagePostsControllerTest.php
/**
     * Test the create form is displayed.
     */
Test the create form is displayed.
Test the create form is displayed .
public function testCreateForm(): void
    {
        $this->beAdminUser();
        $response = $this->get(route('blogetc.admin.create_post'));
        $response->assertOk();
    }
public function testCreateForm ( ) : void { $ this -> beAdminUser ( ) ; $ response = $ this -> get ( route ( 'blogetc.admin.create_post' ) ) ; $ response -> assertOk ( ) ; }
Test the create form is displayed.
Test the create form is displayed .