Have you properly specified database connection details in Doctrine fixtures?
Check this out and also this.