California courts have held that unlawful motivations for termination, including firings due to pregnancy leave, medical leave, or refusing to work in unsafe working conditions, are violations of public policy.If you believe that you have been unjustly fired, you may have the right to file a wrongful termination claim against your former employer.