i just consulted my crystal ball but was unable to see anything about your code.. so could you please tell us where LARAVEL_START is defined & relevant code for route '/' ie the controller function it calls
Jan 4, 2018
6
Level 1
"Use of undefined constant LARAVEL_START" when running a Test
I'm starting to learn Tests now, this simple method bellow is returning error 500 on my homepage, even though I can see it just fine in the browser:
public function testExample()
{
$response = $this->get('/');
$response->assertStatus(200);
}
The error is that the constant LARAVEL_START which I use to show processing time of page isn't defined in the moment of testing.
Am I doing something wrong?
Please or to participate in this conversation.