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

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

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

$this dontSeeLink(string $text, string|null $url = null) Assert that a

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

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

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

$this seeElement(string $selector, array $attributes = array(), bool $negate = false)

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

$this expectsModelEvents(string $model, array|string $events) Specify a

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

bool matches(Crawler|string $crawler) Check if the link is found in the

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

$this seeIsSelected(string $selector, string $value, bool $negate = false)

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

void assertResponseOk() Assert that the client response has an OK status

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

Response call(string $method, string $uri, array $parameters = array(), array

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

$this doesntExpectEvents(array|string $events) Specify a list of events

2025-01-10 15:47:30