A woman who works for the Department of Education has settled her sexual harassment case against her employer for £25,000.