PHPunit test travis

Hello, i have a strange error.

I am using PHPstorm and i can run these Unit tests local without any problems:

But when i push it to travis then i get this error with the entitys.

Phalcon\Di\Exception: Service 'eventsManager' wasn't found in the dependency injection container

Did anyone know, how i can fix this error?

Thanks. Pat

Did you register the events manager service?

                return new \Phalcon\Events\Manager();

I registered the eventManager now like this and it is working. I just dont know why it was working with the local machine and with travis not. but everything fine as long as it works now ;)

thanks Pat