PHPunit test travis

Hello, i have a strange error.

I am using PHPstorm and i can run these Unit tests local without any problems: https://github.com/patrickascher/PaPhalconAuth/tree/master/tests

But when i push it to travis then i get this error with the entitys. https://travis-ci.org/patrickascher/PaPhalconAuth/jobs/93947457

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?

  self::$di->setShared(
            'eventsManager',
            function()
            {
                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