{"action":"created","issue":{"url":"https://api.github.com/repos/jenssegers/laravel-mongodb/issues/894","repository_url":"https://api.github.com/repos/jenssegers/laravel-mongodb","labels_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/issues/894/labels{/name}","comments_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/issues/894/comments","events_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/issues/894/events","html_url":"https://github.com/jenssegers/laravel-mongodb/issues/894","id":165976500,"number":894,"title":"getPdo() return null on connected database","user":{"login":"theminer3746","id":9322228,"avatar_url":"https://avatars.githubusercontent.com/u/9322228?v=3","gravatar_id":"","url":"https://api.github.com/users/theminer3746","html_url":"https://github.com/theminer3746","followers_url":"https://api.github.com/users/theminer3746/followers","following_url":"https://api.github.com/users/theminer3746/following{/other_user}","gists_url":"https://api.github.com/users/theminer3746/gists{/gist_id}","starred_url":"https://api.github.com/users/theminer3746/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theminer3746/subscriptions","organizations_url":"https://api.github.com/users/theminer3746/orgs","repos_url":"https://api.github.com/users/theminer3746/repos","events_url":"https://api.github.com/users/theminer3746/events{/privacy}","received_events_url":"https://api.github.com/users/theminer3746/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-17T13:22:13Z","updated_at":"2016-07-22T10:20:33Z","closed_at":"2016-07-22T10:20:33Z","body":"I'm using `DB::connection('mongodb')->getPdo()` to check if the database is connected (if not phpunit will mark some test as skipped) and it's turning out that `->getPdo()` always return `null`. The connection is working proven by that I can use `php artisan migrate` to create new collection and I can insert data into the collection.\r\n\r\nEnvironment : \r\n- OS : windows 10 running MAMP 3.2.0\r\n- laravel : 5.2.37\r\n- jenssegers/mongodb : 3.0.2"},"comment":{"url":"https://api.github.com/repos/jenssegers/laravel-mongodb/issues/comments/234509144","html_url":"https://github.com/jenssegers/laravel-mongodb/issues/894#issuecomment-234509144","issue_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/issues/894","id":234509144,"user":{"login":"theminer3746","id":9322228,"avatar_url":"https://avatars.githubusercontent.com/u/9322228?v=3","gravatar_id":"","url":"https://api.github.com/users/theminer3746","html_url":"https://github.com/theminer3746","followers_url":"https://api.github.com/users/theminer3746/followers","following_url":"https://api.github.com/users/theminer3746/following{/other_user}","gists_url":"https://api.github.com/users/theminer3746/gists{/gist_id}","starred_url":"https://api.github.com/users/theminer3746/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theminer3746/subscriptions","organizations_url":"https://api.github.com/users/theminer3746/orgs","repos_url":"https://api.github.com/users/theminer3746/repos","events_url":"https://api.github.com/users/theminer3746/events{/privacy}","received_events_url":"https://api.github.com/users/theminer3746/received_events","type":"User","site_admin":false},"created_at":"2016-07-22T10:20:33Z","updated_at":"2016-07-22T10:20:33Z","body":"Oh, I see. thanks"}}
{"actor":{"display_login":"theminer3746"}}