public function testSignUpReturnsValidationError() { $this->post('api/auth/signup', ['name' => 'Test User', 'email' => '[email protected]'])->seeJsonStructure(['error'])->assertResponseStatus(422); }