TestCase::assertViewMissing()
  • References/PHP/Laravel/Foundation/Testing

$this assertViewMissing(string $key) Assert that the response view is missing

2025-01-10 15:47:30
TestCase::seeJson()
  • References/PHP/Laravel/Foundation/Testing

$this seeJson(array $data = null, bool $negate = false) Assert that the

2025-01-10 15:47:30
MakesHttpRequests::deleteJson()
  • References/PHP/Laravel/Foundation/Testing/Concerns

$this deleteJson(string $uri, array $data = array(), array $headers = array())

2025-01-10 15:47:30
MakesHttpRequests::assertRedirectedToRoute()
  • References/PHP/Laravel/Foundation/Testing/Concerns

$this assertRedirectedToRoute(string $name, array $parameters = array(), array $with = array())

2025-01-10 15:47:30
MakesHttpRequests::seeLink()
  • References/PHP/Laravel/Foundation/Testing/Concerns

$this seeLink(string $text, string|null $url = null, bool $negate = false)

2025-01-10 15:47:30
InteractsWithAuthentication::dontSeeCredentials()
  • References/PHP/Laravel/Foundation/Testing/Concerns

$this dontSeeCredentials(array $credentials, string|null $guard = null) Assert

2025-01-10 15:47:30
WithoutEvents::disableEventsForAllTests()
  • References/PHP/Laravel/Foundation/Testing

disableEventsForAllTests() Prevent all event handles from being executed.

2025-01-10 15:47:30
InteractsWithPages::dontSeeInField()
  • References/PHP/Laravel/Foundation/Testing/Concerns

$this dontSeeInField(string $selector, string $value) Assert that an input

2025-01-10 15:47:30
HasLink::getFailureDescription()
  • References/PHP/Laravel/Foundation/Testing/Constraints

string getFailureDescription() Returns the description of the failure.

2025-01-10 15:47:30
MakesHttpRequests::getJson()
  • References/PHP/Laravel/Foundation/Testing/Concerns

$this getJson(string $uri, array $headers = array()) Visit the given URI

2025-01-10 15:47:30