public function testLoginWithReturnsValidationError() { $this->post('api/auth/login', ['email' => '[email protected]'])->seeJsonStructure(['error'])->assertResponseStatus(422); }