Fix the travis error: Error when Test the Deactivation