Skip to content

Make ->withHost available when using visit(..)#193

Closed
negoziator wants to merge 1 commit intopestphp:4.xfrom
negoziator:feat/add-per-page-host-available
Closed

Make ->withHost available when using visit(..)#193
negoziator wants to merge 1 commit intopestphp:4.xfrom
negoziator:feat/add-per-page-host-available

Conversation

@negoziator
Copy link
Contributor

Make withHost chainable directly on visit()

Currently withHost is not chainable directly on visit()

Added missing function withHost(..) in PendingAwaitablePage

Usage

visit('/dashboard')
    ->withHost('app.localhost')
    ->assertSee('Welcome');

@negoziator negoziator closed this Jan 10, 2026
@negoziator negoziator deleted the feat/add-per-page-host-available branch January 10, 2026 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant