Skip to content

Commit

Permalink
Add TestView to ide-helper (#23)
Browse files Browse the repository at this point in the history
Ide helpers for TestView by @markieo1
  • Loading branch information
markieo1 committed Aug 28, 2024
1 parent 6cb311f commit ff847b0
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions ide-helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,25 @@ public function assertFormExists($selector = 'form', $callback = null)
return $instance;
}
}

class TestView
{
public function assertHtml5()
{
/** @var \Illuminate\Testing\TestResponse $instance */
return $instance;
}

public function assertElementExists($selector = 'body', $callback = null)
{
/** @var \Illuminate\Testing\TestResponse $instance */
return $instance;
}

public function assertFormExists($selector = 'form', $callback = null)
{
/** @var \Illuminate\Testing\TestResponse $instance */
return $instance;
}
}
}

0 comments on commit ff847b0

Please sign in to comment.