When it is a fixed-term contract which the employer terminates before the expiry date, the obligation for the employer to give the employee a notice of termination is effective, since the exception to this obligation to give notice applies only to expiring fixed-term contracts and not to those which the employer terminated while they are still in effect.